al4629740
asked on
Is it possible to have a sidebar number for the rows in an MSFlexgrid
I was wondering in vb6 if it was possible to have a sidebar on the msFlexgrid where it numbers the rows. Â Simalar to the same style of a header for a column, except in this case for each row, so that a user could see the amount of rows by number.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If the number of rows doesn't increase then no, you can just use the code I supplied. If the number of rows increases then do this when you add a new row.
In any case I'm glad I was able to help.
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
' Add the new row
MyGrid.Rows = MyGrid.Rows + 1
' Number the new row
MyGrid.TextMatrix(MyGrid.Rows - 1, 0) = MyGrid.Rows
In any case I'm glad I was able to help.
In my profile you'll find links to some articles I've written that may interest you.
Marty - MVP 2009 to 2014
ASKER