Hi!
I am quite new to MapTool, and I am trying to find my way into the program and make some ease of life macros at first.
Also, I am quite adept at programming, if I find the right commands.
What I want to do:
I want to create a Frame / Dialog, where The Light Sources for a Token can be toggled. For that, I want the Buttons to be colored, dependant on, if they are lit at the moment, or not.
What I managed:
I created a frame, it has two buttons (Torch / Candle), and when I use a button it displays a small text corresponding to the light source, for proof to me, that the macro chooses the right programming path.
What I can't find out:
How can I color the input buttons in the frame?
I found solutions to color macro buttons, but no solution how to color the input buttons.
Is there a way? If yes, which is it?
What i tried:
I tried the html commands for the coloring, in some variations:
<input type="submit" name="Light_Source" value="Torch" color=Black>
<input type="submit" name="Light_Source" value="Torch" color="Black">
<input type="submit" name="Light_Source" value="Torch" color=#FFFFFF>
<input type="submit" name="Light_Source" value="Torch" color="#FFFFFF">
I hope you can help me, or at can tell me that there is no way, so I know I can stop that path of thinking.
Very nice Tool, as far as i can see for now, and really nice possibilities to adapt it to different uses.
Input Button Coloring
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
Re: Input Button Coloring
You can't. You could crate virtual buttons though. Check out my bag of truck to see what I mean
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
-
- Kobold
- Posts: 12
- Joined: Wed Oct 29, 2014 7:26 pm
Re: Input Button Coloring
Thanks for the definitive reply.
I checked out the virtual buttons, those look good.
Either I use those, or I try to go directly for imagebuttons.
Thanks for the help.
I checked out the virtual buttons, those look good.
Either I use those, or I try to go directly for imagebuttons.
Thanks for the help.