Change color of background on a macro form

Discussion in 'SolidWorks' started by SW Monkey, Nov 16, 2004.

  1. SW Monkey

    SW Monkey Guest

    Im trying to change the background color of a form in a macro. The
    default is whatever the windows default is of that user. The problem
    is, I have a image on the form, which has a grey background, which is
    the windows default background color. If someone else has a different
    background, the image doesnt blend in with the rest of the form.

    So, is there a way to change the background form color? (im using the
    SWX VB editor, not full). OR Is there a way to make the grey
    background on the image transparent, so the only thing shown on the
    form is what centered on that image?
     
    SW Monkey, Nov 16, 2004
    #1
  2. SW Monkey

    That70sTick Guest

    To get transparency on an image, you need GIF format. Most photo
    editing software has some utility to convert an edit GIFs and add
    transparency.
     
    That70sTick, Nov 16, 2004
    #2
  3. SW Monkey

    TinMan Guest

    You mean like "UserForm1.BackColor = &HC0FFC0"?

    Ken
     
    TinMan, Nov 19, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.