Jump to content
Sign in to follow this  
OmYcroN

Transparent Button

Recommended Posts

OmYcroN

In this image my button has a white "border". Under it is a picture from GUICtrlCreatePic();

post-33427-12524294896035_thumb.png

How can i make the "border" transparent ?

Share this post


Link to post
Share on other sites
Yashied

In this image my button has a white "border". Under it is a picture from GUICtrlCreatePic();

How can i make the "border" transparent ?

This is based on the Themes, you can not so easy to change that, well, or draw your button... Or you can try GUISetBkColor().

GUICreate('MyGUI', 200, 100)
GUISetBkColor(0x4895CD)
GUICtrlCreateButton('Install', 125, 72, 70, 23)
GUISetState()

Do
Until GUIGetMsg() = -3
Edited by Yashied

Share this post


Link to post
Share on other sites
OmYcroN

This is based on the Themes, you can not so easy to change that, well, or draw your button... Or you can try GUISetBkColor().

GUICreate('MyGUI', 200, 100)
GUISetBkColor(0x4895CD)
GUICtrlCreateButton('Install', 125, 72, 70, 23)
GUISetState()

Do
Until GUIGetMsg() = -3

Yes ... it works but it seems that affects my pic in some way ... guess is a pic with a problem if only a portion is affected ... Thanks !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×