Ed, Just a comment that when in the Class designer the prompt for Show/Hide for the Object Info form doesn't toggle between Show and Hide as per the other entries on the menu.
Dave Crozier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe Sent: 04 January 2007 17:58 To: Dabo Users list Subject: Re: [dabo-users] How to reference contained objects On Jan 4, 2007, at 12:10 PM, Dave Crozier wrote: > That clears up my misconceptions now. Sorry to divert your attention Not a diversion at all. It's really hard to see things through the eyes of someone just coming to Dabo. I mean, I've been buried in it for 3 years now, and know all the guts underneath and how things are *supposed* to work. Your simple observation that our cool auto- referencing model using the Name property isn't documented or obvious is very helpful in realizing that this is a documentation hole that needs patching quickly. If you see anything else that you're not sure about, don't hesitate to post a question. It's invaluable to us. > but I'm determined to get into Dabo and now I've started I'm really > really > impressed. Well done to all the team and here's hoping I can > contribute in > the future. That would be great! > I couldn't find a dabo "timer" so maybe this is something I can let > you have. There is a 'dabo.ui.dTimer' class - take a look at it and let me know how it compares. We also have a little syntactic sugar for working with timed calls. If you have a method that you want called when a timer fires, you can write: self.tmr = dabo.ui.callEvery(500, self.regularStuff) This will return a timer that fires every 500 milliseconds, and which calls the object's 'regularStuff' method when it fires. You can then interact with self.tmr, changing its Interval property, or calling its stop() and start() methods (or toggling its Enabled property - more than one way, etc.) manually if needed. > I'll keep you all posted and probably busy with my questions no > doubt. I've > also just used the RegID property of the screen objects to bind in > events to > the buttons I create programmatically on the form. This may well > not be the > best way to do it but it works nevertheless. Hey, if it works... ;-) If you want to post some code, I can tell you if there is an easier/ cleaner way. -- Ed Leafe -- http://leafe.com -- http://dabodev.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.4/615 - Release Date: 03/01/2007 13:34 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
