Hi,

I've discovered a bug in RB2007r1.

I have placed a static text on my window. Since it must be invisible  
in the beginning, I've set the height of the window lower than the  
top of the static text (in the IDE, the static text is in the grey  
area). In code, I set self.height=64 when I want to show the static  
text.

The problem with this technique is that, in the running application,  
the StaticText.parent property is nil. It means it does not know on  
which window it belongs nor can't it display anything.
The control itself is not nil, so I can say  
LblTimeRemaining.text="0:00", but it is never displayed.

The workaround is to make the window covering all the controls in the  
IDE and using the open event (or constructor) to set the window to a  
lower size (rather annoying).

A for-your-information message.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to