Groups | Blog | Home
all groups > vb.net > february 2006 >

vb.net : mshflexgrid Problem


doller
2/20/2006 7:33:08 PM
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
doller
2/20/2006 8:07:52 PM
HI Homer,

Application development on vb6 and the view is MSHFLEXGRID

from
Doller
Homer J Simpson
2/21/2006 12:00:00 AM

[quoted text, click to view]

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

Part Description=20
object An object expression that evaluates to an object in the =
Applies To list (MSHFLEXGRID).=20
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.=20
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=3D0. If index is omitted, the new row becomes the last row in =
Cor Ligthert [MVP]
2/21/2006 12:00:00 AM
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

Homer J Simpson
2/21/2006 12:00:00 AM

[quoted text, click to view]

VB6 or VB .Net?

mshflexgrid or datagridview ??


AddThis Social Bookmark Button