General information
Category:
Coding, syntax & commands
Title:
Lost Focus/Valid code runs in Grid
Hi All,
I am facing a big probolem in Grid. In my Grid, i have written code in all columns like this,
If Lastkey() = -1
ThisForm.Grid1.Column1.Text1.SetFocus()
EndIf
If i press F2(-1) Key from any column, It runs Valid and Lost focus code of "Column1.Text1". I dont want to run valid code when i am setting focus to that. If the same code i write in normal textboxes (not in grid), my cursor just goes to that field and doesnt run code except when and got focus of that field, Why it runs valid in Grid.
Please Help
TIA
Regards
Amit
Next
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