Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    5

    Unanswered: textbox backgroup color in a report.

    I'm able to set the text forecolor in an access 97 report textbox, but the backcolor seams to have no effect.
    Code:
     
    my.textbox1.forecolor = RGB(100,100,100) works
    
    my.textbox1.backcolor=RGB(100,100,100) no effect
    I'm running an access97, any idea why this does not shade the background? Is there an another/correct way to dynamicly set the background color of a textbox in a report?

    Dwayne

  2. #2
    Join Date
    Feb 2004
    Posts
    142
    To activate a backcolor property you must also set the BackStyle to 1 to make it not transparent.

    ControlName.BackStyle = 1 (or 0 for transparent)
    KC

  3. #3
    Join Date
    Mar 2004
    Posts
    5

    thanks

    Thanks, that was the cause of my problems!!

    Dwayne

Posting Permissions

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