Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.grid1.activerow=?
Message
 
To
17/08/1999 13:40:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00254559
Message ID:
00254597
Views:
27
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform