|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
mshflexgrid ProblemHi 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" <sufiana***@gmail.com> wrote in message VB6 or VB .Net?news:1140492788.749865.41100@f14g2000cwb.googlegroups.com... > 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. mshflexgrid or datagridview ?? HI Homer,
Application development on vb6 and the view is MSHFLEXGRID from Doller "doller" <sufiana***@gmail.com> wrote in message news:1140494872.069891.177890@f14g2000cwb.googlegroups.com... Use the BandColindex in that case:-> Application development on vb6 and the view is MSHFLEXGRID 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
MSDN .Net Remoting Sample ?
Startup a winform hidden Current Recordset does not support updating - HELP needed! Read a file, knowing only a part of its name Windows Service stopped working system.runtime.interopservices.COMException close connection GAC assembly in "Add Reference" dialog box Time Sync conversion error |
|||||||||||||||||||||||