Sign in to follow this  
Followers 0
LimeSeed

Buttons?

6 posts in this topic

is there any way to make round buttons by using guictrlcreatebutton("round button", 23,23,23,23) ?


global $warming = true

Share this post


Link to post
Share on other sites



I looked around some and from what I can tell, you can't make a button rounded, sorry. I'll repost if I find out otherwise.

~Flint Brenick~

Share this post


Link to post
Share on other sites

you can always use a picture as a button

$picture = GUICtrlCreatePic("img.jpg", 50, 50, 200, 50)

While 1

$msg = GUIGetMsg()

If $msg = $picture Then

; Do something

EndIf

Wend

Share this post


Link to post
Share on other sites

you can always use a picture as a button

$picture = GUICtrlCreatePic("img.jpg", 50, 50, 200, 50)

While 1

$msg = GUIGetMsg()

If $msg = $picture Then

; Do something

EndIf

Wend

Yeah, that is the closest thing that you can do, but even if you have a picture of a circle, the controller itself is still not rounded.

Share this post


Link to post
Share on other sites

Can do a custom button widget by monitoring mouse events, and test radius from a point in order to get a circular button.

Share this post


Link to post
Share on other sites

is there any way to make round buttons by using guictrlcreatebutton("round button", 23,23,23,23) ?

Try _GuiRoundCorners() with a label (it doesn't work with buttons), see THIS thread for how to do it.

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  
Followers 0