It is currently March 29th, 2024, 8:56 am

Click on transparent button

Get help with creating, editing & fixing problems with skins
User avatar
deXxterlab97
Posts: 93
Joined: February 5th, 2017, 4:50 am

Click on transparent button

Post by deXxterlab97 »

I have a button. It is hollow on the inside so if I want to click on it I have to click on the thin border. How would I make it so that I can click on the transparent bit on the inside?

LeftMouseUp and ButtonCommand doesn't work, I still have to click on the outside and I don't want to fill the inside with colors

Code: Select all

[Replay]
Meter=Button
ButtonImage=Media Buttons\replaytest.png
X=250
Y=215
ButtonCommand=[!CommandMeasure "mPlayer" "SetRepeat -1"]
Group=Toolbar
AntiAlias=1
ToolTipText=Repeat
Grayscale=1
ImageTint=#Color#
deXxterlab97
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Click on transparent button

Post by jsmorley »

Simply set SolidColor=0,0,0,1 on the meter.
User avatar
deXxterlab97
Posts: 93
Joined: February 5th, 2017, 4:50 am

Re: Click on transparent button

Post by deXxterlab97 »

jsmorley wrote:Simply set SolidColor=0,0,0,1 on the meter.
thanks
deXxterlab97