Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bugs in Grid??
Message
From
20/10/1998 15:21:59
 
 
To
20/10/1998 13:30:34
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00148569
Message ID:
00148606
Views:
22
>Correction:
>
>Hi,
>
>I have the following code in the command1 button of a click event.
>
>Object: Command1 Procedure: Click
>
>ThisForm.grid1.ActivateCell( 3, 2 ) && row 3 , column 2
>ThisForm.grid1.Refresh
>ViewValue = ThisForm.grid1.grcTest.txtTest.value
>wait window ViewValue
>
>Thanks

It seems to me that issueing Grid.Setfocus will help here. However, the safer way to get values from grid is to get them from Grid.Recordsource, i.e. you move record pointer to appropriate record (GO,SKIP,SEEK,LOCATE) and read appropriate field values.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform