> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ed Leafe
> On Jan 4, 2007, at 10:26 AM, <[EMAIL PROTECTED]>  
> <[EMAIL PROTECTED]> wrote:
> 
> >> Q1. After I have created these objects I can see them as 
> cmdButton1 
> >> and so
> >> on- no problem. Shouldn't I also be able to see them as 
> >> self.cmdButton or am I thinking too much in a VFP way as in 
> >> "Thisform.<object name>"?
> >
> > Not uless you explicitly create the object as self.myObject.   
> > Otherwise
> > the button is bound to the name in the local (function) 
> scope, and the 
> > binding is 'lost' when the function exits.  The button will still
> > exist,
> > but will not be a property of the class.
> 
>       Normally in Python that's true. But we've added some 
> goodies in  
> Dabo, such as automatically binding the Name property of an object  
> when it is created to its containing Parent object.

I didn't know that.  Very cool.  But it leads us back to Dave's original
question, which is how to get at the automatically-bound names.

> 
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
> 
> 
> 
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
> 

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to