Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.grid1.activerow=?
Message
 
À
17/08/1999 13:40:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00254559
Message ID:
00254597
Vues:
28
>Hey Joe,
>
>>Then I click a button with
>>the following code...
>
>Thats your problem. From the help:
>
>ActiveRow returns zero if the grid doesn't have the focus.
>
>So when you click your button the grid loses focus. Try the Watch Window or ON KEY LABEL for testing purposes.

Ok... I fixed it by adding a temp variable and copying activerow to it
before the grid loses focus.

BTW- Here is all _my_ vfp5 help file has about it...

Specifies the row that contains the active cell in a Grid control. Not available at design time; read-only at run time.

Syntax

Grid.ActiveRow

Remarks

The ActiveRow property does not return the same value as RECNO( ) in an indexed table.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform