General information
Category:
Forms & Form designer
Yes, It does the same thing.
First time When my focus is on text box, I pressed cancel/Esc, Lastkey() value becomes 27.
But my problem is, Once the value of Lastkey() turns to 27, it will never execute the Valid event even if I click on the onother text box instead of pressing cencel or Esc. Because the very first check in Valid event is:
valid event
*first check
If Lastkey()=27
retu
endif
*second check
IF ISBLANK(THIS.VALUE)
messagebox('cannot leave blank')
endif
Thanks.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only