Ed Leafe wrote:
On Sep 9, 2005, at 11:50 AM, Paul McNett wrote:

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".


If they type 'Victory', then they're just being stupid. If alignment is either Horizontal or Vertical, and you set it to something beginning with 'h' or 'v', then you're good.

I don't like the 'minimum letters to uniquely specify the property' rule; look at the BorderLineStyle property to see why.

So, you want the rule to be: if it can be uniquely specified with one letter, set it to anything beginning with that letter. Else, specify the entire string.

I could live with that.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


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

Reply via email to