Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically move cursor in a BROWSE window
Message
De
05/08/2007 09:33:56
 
 
À
04/08/2007 21:56:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01245985
Message ID:
01246016
Vues:
19
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform