hi All,
I have been breaking my head for nearly 2 weeks but am not able to figure it out.. plz help me to resolve the riddle.. here it goes :
In a text field i want to perform a operation in the following way:
> a default text 00:00:00 is set for time as the text field is for time and the character length of the field is 8.
> if the cursor is in position 0(zero) and if i press a number key it should replace the position 0 value and move the cursor to next position.
eg : 00:00:00
20:00:00
explanation : now the cursor is in position 0 and i press the key 2 it should replace the value 0 in position 0 and den move the cursor to position 1 ie. to next position..
when i press any non-numeric key it should not replace any of the value but the cursor should move to next position.