Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MESSAGEBOX(STR(THISFORM.gridname.ActiveRow)) returns 0
Message
From
21/01/1999 19:46:52
 
 
To
21/01/1999 19:09:54
Martin Holzhofer
Edv-Service Holzhofer
Oehringen, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00178794
Message ID:
00178800
Views:
42
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform