I believe the simplest way to trim leading/trailing spaces of a textbox control is to put a "T" in the .format property.

That too could be placed in the 'class definition' for textboxes of course.

-Charlie


At 01:47 PM 9/19/2006 +0100, Alan Bourke wrote:
Nope, that's about as simple as it'll get! Of course you'll be using
subclassed textboxes and so will only need to include that code in the
base class ;)
--
...


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to