[lazarus] Tree within library

SteveG steveg at nevets.com.au
Sun Apr 27 09:45:46 EDT 2003


a few questions this time:

First, problems using Forms in a library (.so)
1. If using a TTreeView I get an error msg - ERROR: 
[TgtkObject.CreateBitmap] Illegal depth 0,
as the library initializes, and am unable to focus on any items.
Works ok on a standard test program -

2. If the form is sent behind another, then brought back to the front, 
all TStaticTest objects and TSpeedbuttons have disappeared and the 
screen needs to be re-drawn in code to refresh

3. TSpeedbuttons disappear if the mouse is passed over them (not 
clicking) - screen redraw needed to refresh

These problems on normal programs, and within libraries
1. Images on TImage, and TSpeedbutton (actually any images at all once 
the program runs) seem ok when viewing in the IDE, but once program runs 
all images are just various blocks of solid color

2. Problems with tab order in any program - not only unable to set 
specific ordering, focus seems to disappear after 'last' control (takes 
two tabs to re-appear) - my test prog is new form at Laz start, add 4 
TEdits and run - tab problems ??


All of these seem to be grapic related. Is this a problem only on my 
machine ? (RH8 + KDE, latest CVS)

Appreciate any help with these.






More information about the Lazarus mailing list