On Jun 8, 2006, at 2:38 PM, Ed Leafe wrote:

- how can I limit some text entry to e.g. numbers or lowercase letters

You can bind the dEvents.KeyChar event of the textbox to a method that then checks the pressed key to make sure it's acceptable. The code would look like:

You know, as I'm writing the HowTo Wiki page for this, I'm thinking that this is a royal pain to do, and that these behaviors should be built into the control. Give me a little time and I'll have a new version of dTextBox that will incorporate these behaviors.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




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

Reply via email to