Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scroll a grid programmatically
Message
De
27/08/2005 04:25:18
 
 
À
27/08/2005 00:27:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01044491
Message ID:
01044506
Vues:
12
>Greetings all
>I set the visible property on a grid = .F. to execute a routine. When reseting the visible property = .T., I find the grid has scrolled to the last col. I use activateCell(1,1) but it places the cursor on the first relative (visible) col. How can I scroll the grid to the first absolute col
>Thanks, Vince
thisform.LockScreen = .T.
grid.Visible=.F.
* CODE
grid.Visible=.T.
SELECT (grid.RecordSource)
LOCATE
grid::Refresh
* with no columns reordered
grid.Columns[1].SetFocus
thisform.LockScreen = .f.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform