On Tue, 30 Nov 2004 15:58:43 -0800, Will Leshner <will dot leshner at gmail dot
com> wrote:
> As long as we aren't talking about controls, which you can't subclass,
> you make a subclass of the class that has the events you want to
> implement. Then you will see the events appear in the Events section
> of the code editor for the subclass.
Woops. I've got a nasty bit of misinformation in that answer. My
fingers were typing faster than my brain was thinking :) Anyway, as
Phil Mobley pointed out to me, you *can* subclass controls. Good
thing, too, since I do it a lot. What I actually had in mind was
instantiating controls in code. You can, of course, do that if they
are part of a control array, but that's not quite the same thing.
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.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>
|