: Answering my own question
:
: Ths will delete the currently selected row
:
: flexgrid.RemoveItem flexgrid.Row
:
: Just make sure you are not trying to delete a Header Row, or that last visable row.
:
: Thanks :)
:
: : VB6 MSFlexGrid Control
: :
: : Using an unbound flexgrid, how can I delete an entire row from the middle of a table. A .DeleteItem in conjuction with the .Additem would have been nice.
:
:
:
You also cannot delete the last non fixed row. This is what I do:
WIth MSFlexGrid1
If (.Rows > .FixedRows + 1) Then
.RemoveItem .Row
Else
.Rows = .FixedRows
End If
End With