Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatically scroll grid
Message
 
À
17/06/2003 14:28:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00800909
Message ID:
00800973
Vues:
23
I am throwing an idea. Not sure if it will work.

Use SYS(1270) function to determine what is the name of column (object) under X, Y position of the first and second grid. If the column name is not what it supposed be, scroll the second grid using DoScroll until you reach column you need.

Make sense?

>Hi all.I have two grids. with exact same column and widths. If i scroll horizontally in one grid, I would like other to get scrolled horizontally automatically. i only want this functionality for horizontal and not for vertical. because second grid has only one row. its actually displaying total for each column of first grid.
>
>so i tried putting code in first grid's scrolled event that Thisform.grid2.doscroll(nDirection). this works fine if user clicks on horizontal bar. but i can't seem to figure out how to scroll second grid when user presses left/right or tab/shift+tab keys in first grid to scroll horizontally. can anyone give me some idea?
>
>Thanks all for your help in advance.
>
>Mark
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform