Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get ActiveRow,ActiveColumn,RelativeRow,RelativeColumn
Message
De
19/06/2003 04:36:23
 
 
À
19/06/2003 04:08:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00801629
Message ID:
00801634
Vues:
9
>Hi,
>
>i need ActiveRow,ActiveColumn,RelativeRow,RelativeColumn when grid haven't focus on it.
>
>Thanks
>
>Fabio

Fabio,

You can store them in the Valid() event of the grid. The grid.Valid() fires when a grid is about to lose focus.

(untested) sample for ActiveRow
&& grid.init()
this.AddProperty('ActiveRow_Saved', 0)

&& grid.Valid()
this.ActiveRow_Saved = this.ActiveRow
return DoDefault()

&& grid.ActiveRow_Access
return iif( !empty(this.ActiveRow), this.ActiveRow, this.ActiveRow_Saved)
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform