Ed Leafe wrote:
On Sep 9, 2005, at 11:29 AM, Paul McNett wrote:
but can we agree on some rules:
I agree with those, but would add one other:
+ when the choices for the prop can be abbreviated without causing any
confusion, the setters should accept abbreviations. Example:
'Horizontal' and 'Vertical': we should only check the first letter.
Of course, there is a small chance that 5 years from now users get
burned by this because some property somewhere just gained a bunch of
new options, making the single letter not work anymore.
Should the rule be a general "just type the first x number of letters
necessary to uniquely specify the property?" I think I like that better
than the user being able to type:
self.Alignment = "Victory"
but I like the user being able to type "v", "vert", etc. and have it
interpreted as "Vertical".
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev