AboutRavindra Expertise visual basic application programming from design to access information, sql, engineering and commercial applications. access databases, excel.
Optional:
1)a large number of people want me to do work which takes some time and effort. Pl.note that i would like to be paid for such work.
2) if you want me to spend quality time and do special work, i expect to be paid a reasonable price for my time.
3) if you are pleased with my reply you could consider a donation of 1$.
4) you can visit my website http://ravindra.coolpage.biz (under constrn)
Experience
Past/Present clients project work for a Norway company, and a Canadian company completed. Freelance Project work and Teaching
teaching vb
Expert: Ravindra Date: 6/20/2008 Subject: Msflexgrid in vb6
Question I have a specific requirement of inserting a row into MSFlexGrid at runtime.
This should be similar to the Excel sheet where you select a row->right click-> you get the pop-up menu-> select the insert-> and a row is inserted.
Please could u help me.
Thanks
Answer sample code for inserting a row at a selected point. G is the name of the msflexgrid.
Dim i As Integer, adu As Integer
Private Sub Form_Load()
For i = 0 To 4
G.TextMatrix(i, 0) = i
Next
End Sub
Private Sub G_Click()
adu = G.Row
End Sub
Private Sub Command1_Click()
G.AddItem " ", adu
End Sub