1. Hey Guest Did you know you can win an Honor 10 phone worth ₹33,000 and an additional ₹70,000 in paytm vouchers, just by replying to some threads and taking part in the discussions happening in the Honor Hub?

    What are you waiting for? Start commenting and start winning! Remember to read the instructions posted here.

    Dismiss Notice

transparent command buttons in VB

Discussion in 'Software Q&A' started by deepak.krishnan, Mar 30, 2006.

Thread Status:
Not open for further replies.
  1. deepak.krishnan

    deepak.krishnan New Member

    Joined:
    Jan 11, 2005
    Messages:
    423
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Palakkad/Bangalore
    In VB,is there any way to make the command buttons in the form transparent.Also I would like to know if I can provide any styles to the controls placed in the form.If so how can I do it? Also where can I get those styles?
     
  2. tuxfan

    tuxfan New Member

    Joined:
    Feb 4, 2004
    Messages:
    2,653
    Likes Received:
    9
    Trophy Points:
    0
    Location:
    Mumbai
    You can't make existing command button as transparent. However, one way to achieve this effect is to keep the colour the same as colour of the forum :(

    Try out a transparent .gif as image. But IMO, even that will not work :( because the transparent gif will show the colour of the button and not form! Additionally, as far as I remember, for GIF, you need some component, etc installed and that isn't free!
     
  3. shakti

    shakti New Member

    Joined:
    Jun 16, 2005
    Messages:
    120
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    visnagar
    In VB i m not aware of this but it is Possible With VB.net by using Prperties Transpernt of button
     
  4. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    There is a transparent option in background color style, I think in VB.

    VBA has a tranparent listitem in backstyle. Don't know about VB.

    However I think what UFO wants is a button in which we can see the item behind it but not fully tranparent. Like if the button is green then the text behind it should shine through with a greenish look???
     
  5. OP
    OP
    deepak.krishnan

    deepak.krishnan New Member

    Joined:
    Jan 11, 2005
    Messages:
    423
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Palakkad/Bangalore
    i did not get wut u really menat. I meant tat one should be able to see wat is placed behind a command button for example a picture or a file etc.
    By the way my name is Deepak Krishnan
     
  6. RCuber

    RCuber The Mighty Unkel!!! Staff Member

    Joined:
    Sep 7, 2004
    Messages:
    7,105
    Likes Received:
    12
    Trophy Points:
    38
    Location:
    ಬೆಂಗಳೂರು (Bengaluru)
    I guess it cant be done in vb but it is possible with VB.NET
     
Thread Status:
Not open for further replies.

Share This Page