Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help!!!! Setting column and row focus in grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01294755
Message ID:
01294769
Views:
19
>Fred
>
>That moves me to row 2 column 10
>
>I want to go to row 2 column 9
>
>Thanks
>
>Colin
>
>
>>>Hi
>>>
>>>I have 10 columns in a grid - a button sets my focus at row 1 column 9 - after completing column 9 the cursor moves to colum 10
>>>
>>>Afer column 10 I want to set the focus to row 2 column 9 etc
>>>
>>>How do I do this?
>>>
>>>Thanks
>>>
>>>Colin
>>
>>Perform a SKIP in the Grid.RecordSource.

Then you still need to position to the correct column. You can use the Grid.ActivateCell to position the column, for the Grid.ActiveRow after the skip. Note that these properties can only be referenced within the grid while the grid has focus.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform