OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: hildevasco on November 19, 2008, 07:15:12 AM

Title: FILTER FOR DATA ENTRY INTO THE TEXT BOX
Post by: hildevasco on November 19, 2008, 07:15:12 AM
I need to monitor the entry of data into the text box and a numerical values double or integer values and another date formatted as mm/dd/yyyy

Thank you
Title: Re: FILTER FOR DATA ENTRY INTO THE TEXT BOX
Post by: Fred Tomke on November 19, 2008, 11:28:55 AM
Hello, hildevasco,

1. your caps lock was active when you've written the subject for this topic.  ;)

2. use OnEditChange-event instead of OnKeyDown and parse the user input. This is very easy. In this case the event returns the whole text of the textbox. I had a test and it worked. OnKeyDown did not work for me.

3. Think about date control or grid with a single date cell. I might be more comfortable for the user and it will take much less time to develop.

Fred