Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Synchronizing Grid horizontal scroll
Message
De
17/11/2009 05:22:13
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/11/2009 04:24:51
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01435144
Message ID:
01435148
Vues:
84
>Dear all,
>
>I have created a form with 3 grids and would like to synchronize the horizontal scrollbars of the 3 grid that when I click a command button say all the 3 grids will move to left or right simultaneously with one click on the command button meaning the column of each grid will still be align with each other. The 3 grids will have the same fields as control but with different filter.
>
>Thank you
>
>Regards,
>
>Ed

Ed,
If the grids have the same fields, then the easiest would be to "union all" the data in a single SQL and use that as the source. If you wouldn't take the easy path for any reason than you can use grid.DoScroll - but the end result wouldn't be so nice.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform