Results 1 to 3 of 3

Thread: I can not Hide a colon in a Flexgrid!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Location
    Italy
    Posts
    29

    Question I can not Hide a colon in a Flexgrid!

    I have encountered a problem to hide a colon in the MSFlexgrid object. I do the follow

    If Fxgrid1.ColIsVisible(intcol) Then
    Fxgrid1.ColIsVisible(intcol) = False
    End If

    The If statement works but for the assignment to False I get the compile error “ Assignment to constant not permitted“
    Strange because if I follow the MSDN documentation I should assign that property
    Can somebody say what is wrong?

    V.B.

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Hi

    Try :

    fxgrid1.colWidth(intCol)=0

    Regards

    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Location
    Italy
    Posts
    29

    Thumbs up

    Dirty but efficient.

    Thanks

    Vincent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width