Results 1 to 3 of 3

Thread: [RESOLVED] MSFlexGrid Bug?

  1. #1

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Resolved [RESOLVED] MSFlexGrid Bug?

    Is this an bug or I am missing something?

    Place an MSFlexGrid on the form, and then do this:

    VB Code:
    1. Private Sub Form_Load()
    2.     With MSFlexGrid1
    3.         .Col = 0
    4.         .Row = 0
    5.         Debug.Print .BackColorFixed, .CellBackColor
    6.     End With
    7. End Sub

    There's no value for .CellBackColor

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,501

    Re: MSFlexGrid Bug?

    By default cells dont have properties set - so they "inherit" the default properties instead (in this case .BackColor).

  3. #3

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: MSFlexGrid Bug?

    Ahh, ok, that explains it.

    In the MSHFlexGrid, the properties are set, hence the confusion.

    Thanks Si.

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