Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From which method can control grid scroll position?
Message
 
 
À
30/01/2003 23:53:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00747518
Message ID:
00747526
Vues:
13
Alex,

If what you are asking is that you want to force the row with focus to be displayed as the second row in the grid...

you can call the DoScroll() method from inside AfterRowColChange()

>Hi. A list has a behavior that I would like to change when clicking on a new row in a grid. It may be default VFP behavior because haven't been able to catch it with set step yet, but perhaps it is done by Codemine or my own code. The grid is using custom column and header classes.
>
>The behavior is that the list scrolls the new active row to the top of the grid when clicking on row > 2 even though there is enough space to show all the rows. In what method can I place code to control the force the scroll behavior desired?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform