Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Synchronizing Grid horizontal scroll
Message
From
17/11/2009 05:22:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/11/2009 04:24:51
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01435144
Message ID:
01435148
Views:
83
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform