Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Splitting a MSHFlexGrid

Status
Not open for further replies.

bobbarker

Programmer
Dec 20, 2001
83
0
0
GB
I have a MSHFlexgrid with 16 columns.

Due to width of the form I can not display all 16 columns without the user having to scroll across.

The last 10 columns allow the user to key values into the flexgrid using a floating textbox.

The first 6 columns are for user information only.

I would like to be able to split the flexgrid so the last 10 columns are fixed and the first 6 are scrollable - similar to Freeze Panes or Split feature in Excel.

Is it possible to do this with a FlexGrid?

One option I thought of is to have 2 FlexGrids. How would I keep the rows synchronised - i.e. if the user scrolls down to a row in one flexgrid it automatically scrolls down to the matching row in the other flexgrid.

Any suggestions would be appreciated.
 
Thanks for the response vladk

Am I right in thinking that FixedCols works from left to right - i.e. it won't work if I want to fix columns 7 -> 16 and have cols 1 -> 6 scrollable?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top