On Mar 23, 2010, at 1:53 PM, Ricardo Aráoz wrote:
> But my point is that you can not know (without looking deep into the
> framework) if it's a property or an attribute, and therefore the upper
> or lower case won't help you to determine if the prop/att belongs or not
> to wx. (not really in your case, as it is a method :-) )
Methods are indeed easier: if it starts with an upper-case character,
it's not Dabo.
For atts/props, yes, it is not obvious. However, the 80/20 rule applies
here: 80% (or possibly more) of the time you'll be working with a very small
subset of all the available properties, and you'll become familar with them
very quickly (e.g., Form, Caption, Visible, ControllingSizer, Children,
DataSource, DataField, Height, Width, RegID). The other 20% or less of the time
you'll have to look it up, and when you do you should be looking at the docs or
the source to find the available properties for the class.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]