Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX(STR(THISFORM.gridname.ActiveRow)) returns 0
Message
De
21/01/1999 19:46:52
 
 
À
21/01/1999 19:09:54
Martin Holzhofer
Edv-Service Holzhofer
Oehringen, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00178794
Message ID:
00178800
Vues:
43
>I want to get values from the active row of a grid. First I wanted to
>get the active row with Grid.ActiveRow, but alike in which row I click
>before the command MESSAGEBOX (STR(THISFORM.gridname.ActiveRow)) returns always 0. Is this a bug or a feature?

It's feature: grid should have focus to have some value in its ActiveRow property. If you want to use it in code, you may shift focus to grid and store this property value in some local variable.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform