Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically move cursor in a BROWSE window
Message
From
05/08/2007 09:33:56
 
 
To
04/08/2007 21:56:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01245985
Message ID:
01246016
Views:
18
I can identify the fields that I want to move to with FIELD(1) and FIELD(FCOUNT(SELECT())) but can seem to find a command that moves the cursor to either of these fields.

I assume that you are using the NAME clause of the browse command ( BROWSE .... NAME oBrowse ) becuase this enables you to manipulate the browse window the same way as you do a grid.

What you need to do is use the ActivateCell() method of the grid and, if the browse scrolls horizontally, combine this with the grid's DoScroll() method.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform