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

MSHFlexGrid

Status
Not open for further replies.

SpiderFlight

Programmer
Joined
Aug 22, 2001
Messages
37
Location
US
I have a project I'm rewritting from vb3 to vb6. This project requires using MSHFlexGrid. The vb3 app used TRUEGRID. I want to convert this to use MSHFlexGrid.

My question: Is there a way to bind an arry to the grid?

Thanks
 
No..

u have to loop through each items of an array...

MSHFlexgrid.Rows=Ubound(MyArray)

For i=Lbound(MyArray) to Ubound(MyArray)
MshFlexgrid.Textmatrix(i,col)=MyArray(i)
Next

You can also loop through the cols , if it is 2D array...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top