RBNUBE wrote
> > Is there a way for a Canvas to receive notice
>> when its parent gets disabled?
>
>What about a Boolean? And, I thought that when the parent was disabled, the
>child was disabled as well.
Yes, it is disabled, but the visual signs of being disabled
(subdued shading) do not show automatically. You need to tickle the
canvas Paint event to do this. The Canvas does not get an event when
the parents state changes. You can statically test for that
condition, but I don't see of any way of getting notification when
this happens. Last night I thought of somehow setting up some custom
binding for that, but haven't had the time of investigating this
idea. -- Ohh, The joys of making your own controls!
--
Cheers,
Peter
TI PowerBook G4, 1GHz, 1GB RAM, OSX 10.3.9, RB2007r2 Pro
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>