Click to See Complete Forum and Search --> : MSHFLEXGRID


Dark Sean
March 21st, 2001, 10:31 AM
Hi,
I've got a file viewer that uses the mshflexgrid to display data, I would like to use the outside border of the grid as a record counter. Right now I have the first column acting as the record counter, but then when you scroll to the right you lose sight of the first column, so I want to use the outside fixed column. Anyone know how to do that??

Thanks,
Sean

Iouri
March 21st, 2001, 12:12 PM
You can put record counter to the ToolTip

MSFlexGrid1.ToolTipText = MSFlexGrid.Rows-1


Iouri Boutchkine
iouri@hotsheet.com

bigfredb
March 21st, 2001, 12:15 PM
set the fixed columns property to 1.

suchas

someflexgrid.fixedcols = 1

However, there must be at least one column on the grid. If you are filling the grid dynamically,

'this resets the grid
someflexgrid.fixedcols = 0
someflexgrid.cols=0

someflexgrid.cols = 1
someflexgrid.fixedcols = 1

. . .