wolfen_76
September 16th, 1999, 06:17 PM
i tried to make some of my grid column disapear and i used 'msflexgrid.RowIsVisible(x) = TRUE' but i get an error message 'compiler error assignment to constant not permited' why is that ?
|
Click to See Complete Forum and Search --> : Msflexgrid.. anyone can explain this please... wolfen_76 September 16th, 1999, 06:17 PM i tried to make some of my grid column disapear and i used 'msflexgrid.RowIsVisible(x) = TRUE' but i get an error message 'compiler error assignment to constant not permited' why is that ? Lothar Haensler September 17th, 1999, 01:16 AM if you check with the object browser you will find, that the RowIsVisible property is "readonly at runtime", meaning that you cannot assign a value to it at runtime, you can only query it's value. Chris Eastwood September 17th, 1999, 03:07 AM As Lothar said, the '.RowIsVisible' property is a read-only property that tell's you if a row is visible - not whether you can hide columns (as stated in your post). There are only two ways of making columns 'invisible' in the FlexGrid: 1. Make the '.ColWidth' of the column = 0 (users can still resize it though) 2. Remove the column completely (move the column to the last column position, then decrement the '.cols' value of the flexgrid) Chris Eastwood CodeGuru - the website for developers http://codeguru.developer.com/vb wolfen_76 September 17th, 1999, 09:45 AM Oh.. that why.. thank.. i guess i misunderstand the help file... codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |