Thanks, Steve. I could do it, The method used by RB is not equal than VB.... but, we can do it. I think RB makes more easy.
Best, Juan. ----- Original Message ----- From: "Steve Garman" <[EMAIL PROTECTED]> To: "REALbasic NUG" <[email protected]> Sent: Thursday, July 13, 2006 11:14 AM Subject: Re: to Fire classes' events. Is it possible? > > > In a window "X" I have created a property MyProperty As MyClass.... > > > If you want to access the events from the Window, don't declare MyProperty > > as Myclass. > Sorry, that should have been "don't create a property" > > > Drag any control onto (or preferably beside) the window and change its > > Super to "MyClass" then change its name to "MyProperty" (or preferably > > something more appropriate, now it's not a property) > > > The Window will now have an Event Handler for its "MyEvent" > > > > > > > -- > Steve Garman > Using REALbasic 2006r2 Professional on Windows XP Pro > > > _______________________________________________ > 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>
