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>

Reply via email to