backgroundimage = none how to do it?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emsik1001
    New Member
    • Dec 2007
    • 93

    backgroundimage = none how to do it?

    Hi

    I have a button which loads an image to the form using the backgroundimage property.

    I have another button which changes the background color however, when I load the image I cannot use the color button (as I presume it is behind the image) how can I remove the image??

    Many thanks in advance
    Emil
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    Originally posted by emsik1001
    Hi

    I have a button which loads an image to the form using the backgroundimage property.

    I have another button which changes the background color however, when I load the image I cannot use the color button (as I presume it is behind the image) how can I remove the image??

    Many thanks in advance
    Emil
    have you tried with:

    backgroundimage = nothing

    ¿?

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      I think the details will depend a lot on what version of VB you're using. Pretty sure forms in VB6 don't have a backgroundimage property, so presumably it's either a later version, or VBA.

      Comment

      • emsik1001
        New Member
        • Dec 2007
        • 93

        #4
        Sorry for not giving basic info it is VB 2005

        I will try backgroundimage = nothing (tonight)

        Comment

        • kadghar
          Recognized Expert Top Contributor
          • Apr 2007
          • 1302

          #5
          Originally posted by emsik1001
          Sorry (...)
          I will try (...) nothing (tonight)
          Oh, that's so sad LOL

          Comment

          Working...