Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost Focus/Valid code runs in Grid
Message
From
09/08/1999 01:12:16
Amit Abhangrao
Charmi Software Exports
Mumbai, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Lost Focus/Valid code runs in Grid
Miscellaneous
Thread ID:
00251345
Message ID:
00251345
Views:
39
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
Map
View

Click here to load this message in the networking platform