Jump to content
Sign in to follow this  
LimeSeed

Buttons?

Recommended Posts

LimeSeed

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
FlintBrenick

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
Pain

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
FlintBrenick

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
JRowe

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
AdmiralAlkex

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  

×