|
Slink Newbie
Joined: 04 May 2002 Posts: 2
|
Posted: Sat May 11, 2002 6:43 pm
Button Question |
Heres what I'd like to do:
Have a single press button that starts off w/ blue text. When you press it, for the next 4 minutes it turns red. After four minutes is up, it turns blue again.
Suggestions?
Thanks! |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat May 11, 2002 10:42 pm |
quote:
Heres what I'd like to do:
Have a single press button that starts off w/ blue text. When you press it, for the next 4 minutes it turns red. After four minutes is up, it turns blue again.
Suggestions?
Thanks!
As far as I recall you cannot color the foreground of a button. It's been a while since I tried, though, so I might be wrong on this point.
If background is ok, you can simply use the %btncol() function, like this:
#alarm +4:00 {#NOOP %btncol(btnYourButtonID, colorID/number)}
In the button itself, you'd put the #NOOP command above, with the color being red.
li'l shmoe of Dragon's Gate MUD |
|
|
|
Humpton Apprentice
Joined: 10 Oct 2000 Posts: 158 Location: Chicago, IL
|
Posted: Sun May 12, 2002 2:55 am |
Offhand I don't know the way to format the button, but by using #BUTTON you can set background and text colors. Not sure how to fit this in with the alarm part though.
Good luck!
Stay JOLLY!
H
___
Humpton lives like he types.... fast, and full of mistakes!
Core 2651: For those who prefer the future to the past. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|