|
-
Oct 27th, 2000, 04:59 PM
#1
Thread Starter
Member
I'm looking for a way to populate a 2 column grid, but I want the 1st column to be merged. I also want to populate the grid with a for loop statement.
Something like this:
For i = 1 To NUM_ROWS
If i = 1 Then
flxGrid1.TextMatrix(i - 1, 0) = " To do list"
flxGrid1.TextMatrix(i - 1, 1) = " To do list"
Else
flxGrid1.Row = i - 1
flxGrid1.Col = 0
Set flxGrid1.CellPicture = Picture1.Picture
flxGrid1.TextMatrix(i - 1, 1) = "Item " & _ Format$(i - 1)
End If
Next i
flxGrid1.CellAlignment = flexAlignCenterCenter
flxGrid1.MergeRow(0) = True
I'm not sure if the rows start at 0 or 1.
any help is appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|