Yeah... that doesn't solve my problem though. I have a custom control
that needs to know if the parent window gets resized (part of our
localization tools), but I'd like to be able to hook into the event
at the control level so I don't need to code it each time. (I'd also
like to be able to make it available to others, but find it
incredibly unfriendly without this capability)
Here's the feature request for parent events:
http://www.realsoftware.com/feedback/viewreport.php?reportid=yymqrxiq
GregO
On Jun 20, 2006, at 4:33 pm, Maarten de Vries wrote:
You'd have to add code in those events, and make it call methods. For
example, you have a class name MyClass.
You add a method "Resized" to MyClass, and an event "Resized". In the
window's resize event you put "MyClass1.Resized". In the method
Resized, you
put "Resized". The window will now calls a method, wich calls an
event.
It is also possible to subclass a window and make the message's get
send to
something else. See Aaron Ballman's article for that.
http://www.aaronballman.com/programming/REALbasic/
WindowSubclassingArticle.php
On 20/06/06, GregO <[EMAIL PROTECTED]> wrote:
Is there any way for a Custom Control to hook into the event of a
parent application? Specifically, I'd like my control to be
"notified" if the resized event of a window fires, but I'd like it to
occur for ALL of my controls without having to specifically code it.
Greg
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
Greg O'Lone, President
Stretched Out Software Inc
(866)SOS-WEBS
(904)296-7800
(904)296-7005 Fax
http://www.stretchedout.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>