mshflexgrid Problem

  • Thread starter Thread starter doller
  • Start date Start date
D

doller

Hi Dear ,

I have a mshflexgrid control on the VB form having 200 rows .I need to
add a row before or after the selected row in the grid.

As wee do in excel

we can add rows before or after the selected row.

Pls help as this is very important for me.

from
Doller
 
I have a mshflexgrid control on the VB form having 200 rows .I need to
add a row before or after the selected row in the grid.

As we do in excel

we can add rows before or after the selected row.

Pls help as this is very important for me.

VB6 or VB .Net?

mshflexgrid or datagridview ??
 
doller said:
Application development on vb6 and the view is MSHFLEXGRID

Use the BandColindex in that case:-
MSHFlexGrid.AddItem(string, BandColindex)
The AddItem method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list (MSHFLEXGRID).
string Required. A string expression displayed in the newly added row. To add multiple strings (for multiple columns in the row), use the tab character (vbTab) to separate each string.
index Optional. A Long value indicating the position within the control. This position is where the new row is placed. For the first row, index=0. If index is omitted, the new row becomes the last row in the band. Note that index is BandColIndex in the MSHFlexGrid.
 
Doller,

It is asked because this is not a VB classic or sometimes names VB6
newsgroup.

This is VBNet to different to handle in one newsgroup.

For VB classic are the newsgroups with the name
microsoft.public.vb* there are much.

As advice try it in
microsoft.public.vb.generaldiscussion

That one is still very active.

I hope this helps,

Cor
 
Back
Top