|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Is there a simple way to delete a column from within a flexgrid? RemoveItem rowNumber nicely deletes any row however I cannot find the equivalent for a column. Same applies for inserting a column within a group ie insert between cols 2 and 4.
Any help appreciated frustratedUser |
|
#2
|
|||
|
|||
|
I should add to the above post that I am currently setting the column width to 0 so it looks like its deleted but if possible I would like a true delete
thanks again Quote:
|
|
#3
|
|||
|
|||
|
Quote:
Bad News: There is no single command/method that deletes a column Good News: There's a simple trick that will do the job Private Sub Command9_Click() With MSFlexGrid1 'moving the selected column to be the last column of the grid .ColPosition(.Col) = .Cols - 1 End With 'reducing number of columns by one.. thus removing the last one MSFlexGrid1.Cols = MSFlexGrid1.Cols - 1 End Sub |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Flexgrid Delete Column |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|