|
bobbalong Newbie
Joined: 02 Aug 2009 Posts: 9
|
Posted: Sun Aug 02, 2009 4:19 pm
Button colour |
how can i give a button a colour and still have the caption over the top?
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Aug 02, 2009 5:03 pm |
#call %btncol(name or number of your button, color you want). The caption doesn't ever move in ZMud until you specifically change it.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
bobbalong Newbie
Joined: 02 Aug 2009 Posts: 9
|
Posted: Sun Aug 02, 2009 6:55 pm |
where do i put that?
i did
#call %btncol(red)
punch @t
in the value but nothing happened |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Aug 02, 2009 11:07 pm |
You only put in the color... you also need to put in the name/number of your button. So if your button is called "HPBtn" then you would do
#CALL %btncol(HPBtn, red) |
|
_________________ Asati di tempari! |
|
|
|
bobbalong Newbie
Joined: 02 Aug 2009 Posts: 9
|
Posted: Fri Aug 07, 2009 1:49 am |
i get
#IF (%1=<50) {drink health}
^ syntax error
after i've entered it when i go to check it in my trigger?
Heh . . heh . . . . . heh . . . i shouldnt have put this here :S |
|
|
|
|
|