On 1-May-07, at 6:46 AM, Arnaud Nicolet wrote:

> 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.

Would be interesting to see a bug report and sample app as I have  
apps that do this and use a disclosure triangle to trigger the resize  
of the window and they work just fine

_______________________________________________
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