Ed Leafe wrote:
> On Jan 24, 2007, at 4:57 PM, Uwe Grauer wrote:
> 
>> Why is it that the custom properties in classdesigner have a type?
>> Isn't a property in python typeless?
> 
>       It's mainly to be consistent with Dabo coding standards. All  
> properties specify the type of the value they represent in their  
> docstring.
> 
>       I could play around with the code and see if I can add an option for  
> something like '-varies-' in case the property could represent  
> different value types.
> 
> -- Ed Leafe

I tried to add a property "ParentForm" to a childform to be able
to call createForm("myform.cdxml", ParentForm=self) in my parentform.
So, if they have types we should add all python types.

Not very nice for a dynamic language.

One more:
Should i be able to use the property like self.ParentForm in my
childform?
Doesn't seem to be working.

Uwe

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

Reply via email to