 |
tkl1129 Beginner
Joined: 04 Jan 2010 Posts: 11
|
Posted: Mon May 03, 2010 2:24 am
Guage Bar Problem |
I have few questions about Guage functions.
1. Where can I set the font style of size inside the guage?
2. Is that only locate in Tools bar location? cannot be locate inside status window?
Thanks. |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon May 03, 2010 6:57 am |
1. The only way to change the font for a button caption would be through the use of the <font> mxp tag. I don't know at all if a button will process those or show it literally, but the syntax is <font name='font name' size='size number' fore='foreground color' back='background color'>text you want to show</font>.
2. The status window is not a real window, in the sense that you cannot put triggers, buttons, etc in it. Its creation and display is handled internally by CMud. Buttons can only exist on toolbars, or in "floating" form (essentially they are on toolbar 0). |
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon May 03, 2010 5:02 pm |
1) Nope, button captions do not support HTML or MXP. You cannot change the font of the buttons at this time. It's on the to-do list for the future.
2) As Matt said, the status window is a special global window and you cannot put buttons into it, sorry. But you can create any other window object and put buttons into it. In fact, you can create a new window and turn off the Session Output option and just have it as a floating button bar if you want. |
|
|
 |
|
|