Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost Focus/Valid code runs in Grid
Message
De
09/08/1999 01:12:16
Amit Abhangrao
Charmi Software Exports
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Lost Focus/Valid code runs in Grid
Divers
Thread ID:
00251345
Message ID:
00251345
Vues:
40
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform