|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Hide Column in MSHFlexgridHello,
I am trying to hide a column in a MSHFlexgrid When i try: MSHFlexGrid1.ColIsVisible(4) = False I get a compile error: "Assignment to constant not permitted" I do not want to set the column's width to 0 because, i have resizable columns. Any help would be greatly appreciated, Thanks!
Show quote
Hide quote
"chuckd777" <chuckd***@gmail.com> wrote in message About all you can do is set the width = 0 and use code similar to this news:1138806222.347064.115120@f14g2000cwb.googlegroups.com... > Hello, > > I am trying to hide a column in a MSHFlexgrid > > When i try: > > MSHFlexGrid1.ColIsVisible(4) = False > > I get a compile error: > "Assignment to constant not permitted" > > > I do not want to set the column's width to 0 because, i have resizable > columns. > > Any help would be greatly appreciated, > > Thanks! (below) to detect and prevent the user from resizing the column. Detect FlexGrid Column Resize http://www.vbsight.com/Code.htm ColIsVisible is more of a function than a property. It tells you if the column is visible but doesn't allow you to manipulate the visibility. -- Ken Halter - MS-MVP-VB - Please keep all discussions in the groups.. DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Freeware 4 color Gradient Frame? http://www.vbsight.com/GradFrameCTL.htm
Change language keyboard
Run-time error 3706 System Error &H80004015 (-2147467243) running VB6 IDE ActiveX DLL Intercepting File read/write request from any program active desktop Database connection/Access help Show all connections VB.net determining when shell command finishes Choosing source from video capture card |
|||||||||||||||||||||||