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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Count columns in AxMSHflexgird

Status
Not open for further replies.

BasicBoy

Programmer
Feb 22, 2008
156
0
0
ZA
I cannot get myflexgrid.columns.count to give the number of columns in the grid. It does not recognize the word columns, although I can get the row count with myflexgrid.rows.count.
Do I miss something
Thanks
 
What do you get in intelisence when you type: myflexgrid. ?

I think
myflexgrid has .Col and .Cols properties.

Have fun.

---- Andy
 
Are you using MSHFLXGD.OCX?

When I check the properties of MSHFlexGrid, I get:[tt]
...
Col
ColAligment
ColAligmentBand
...
ColPos
ColPosition[blue]
Cols[/blue]
ColSet
ColWidth
...[/tt]

Unless you are using something else...

Have fun.

---- Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top