Click here to Skip to main content
15,889,909 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a control MSFlexGrid (5 columns and 7 rows)and it had data.Now I want to and more a column into before column 3 and after colum 2.
so how to I do that?
help me please
thanks.
Posted
Comments
thatraja 24-Dec-10 11:38am    
BTW don't repost your question again...wait for some time to get the answers. Particularly now because most of our people busy with Christmas. Merry christmas

 
Share this answer
 
thanks, and now I resolved my problem by using my code:
With MSF1
        .Cols = .Cols + 1
        .ColPosition(.Cols - 1) = 2 '2 is position added
        .TextMatrix(0, 2) = "Type row" 'set text for header of new column
        MSF1.ColWidth(2) = Me.TextWidth(MSF1.TextMatrix(0, 2)) + 600
        'set the width for new column
        MSF2.ColAlignment(2) = 4 'align center
 End With
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900