Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get ActiveRow,ActiveColumn,RelativeRow,RelativeColumn
Message
From
19/06/2003 04:36:23
 
 
To
19/06/2003 04:08:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00801629
Message ID:
00801634
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform