Forms tutorial
Moderators: dorpond, trevor, Azhrei
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Forms tutorial
I've written a forms tutorial (for maptool macro). There happened to be some questions about that and I felt the need. The existing tutorial in the wiki (that I learned so much from) seems to confuse some users so I tried to give simpler examples and reduce the overall content.
The more or less final version is now in the wiki: Forms_tutorial
Critique is still welcome.
The more or less final version is now in the wiki: Forms_tutorial
Critique is still welcome.
Last edited by CoveredInFish on Thu Sep 09, 2010 6:37 am, edited 3 times in total.
Re: Forms tutorial (WIP, critic requested)
Looks good, just what I need.
DCI/RPGA# 7208328396 Skype ID mfrizzell77
Characters:
Strabor - Dwarf Avenger 5th Level
Tikkanan - Human Warlock 2nd Level
----------------------------------------------------
"People are more violently opposed to fur than leather because it's safer to harass rich women than motorcycle gangs."
Characters:
Strabor - Dwarf Avenger 5th Level
Tikkanan - Human Warlock 2nd Level
----------------------------------------------------
"People are more violently opposed to fur than leather because it's safer to harass rich women than motorcycle gangs."
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: Forms tutorial (WIP, critic requested)
html 3.2 & CSS 1+ are what are supported by the underlying java controls. This is important to note very early on.
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Forms tutorial (WIP, critic requested)
Update.
Mentioned the html/css version. Closed some fixme's.
Mentioned the html/css version. Closed some fixme's.
Re: Forms tutorial (WIP, critic requested)
argh. And you make this AFTER I've spend weeks learning html to create a couple of (rather complex) input forms for my framework...
Nice job though, looks good! When your done, your going to add this to the wiki?
Nice job though, looks good! When your done, your going to add this to the wiki?
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
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Forms tutorial (WIP, critic requested)
Sorry for being late.
Yes i intend to. I hope the wiki syntax isnt to different
EDIT: updated again. Second example is done. Only thing missing now is a section about image buttons.
Yes i intend to. I hope the wiki syntax isnt to different
EDIT: updated again. Second example is done. Only thing missing now is a section about image buttons.
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Forms tutorial (WIP, critic requested)
LOL, nice opening title:
HTML forms covered in fish
edit: one remark, did you intentionally leave out the 'line option' in the code sections? I personally find it easier if they're there so:
<source lang="mtmacro" line> instead of <source lang="mtmacro">, but its a matter of taste.
HTML forms covered in fish
edit: one remark, did you intentionally leave out the 'line option' in the code sections? I personally find it easier if they're there so:
<source lang="mtmacro" line> instead of <source lang="mtmacro">, but its a matter of taste.
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
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Forms tutorial (WIP, critic requested)
I had it first written with the line option but it looked broken. There are no line numbers and some code *lines* have scroll bars. I see that at other pages in wiki too.
Re: Forms tutorial (WIP, critic requested)
And there is another concern: the wiki doesn't create the line numbers using a separate table column in the generated HTML so any attempt to highlight the entire chunk of code and copy/paste it into another window grabs all of the line numbers, too. (Or at least it did the last time I tried it quite a few months ago.)
So for longer examples that the reader might want to copy/paste into a macro window for testing/experimentation purposes, leaving out the line numbers is probably best. Instead, maybe some kind of font control or HTML comments can be used to highlight sections of code being discussed...? (I don't know how much font control is possible inside a <source> block, but I expect there isn't any.)
So for longer examples that the reader might want to copy/paste into a macro window for testing/experimentation purposes, leaving out the line numbers is probably best. Instead, maybe some kind of font control or HTML comments can be used to highlight sections of code being discussed...? (I don't know how much font control is possible inside a <source> block, but I expect there isn't any.)
Re: Forms tutorial (WIP, critic requested)
that is (still) true and indeed annoying. Though I still like it more with the line option on... no biggie though.Azhrei wrote:And there is another concern: the wiki doesn't create the line numbers using a separate table column in the generated HTML so any attempt to highlight the entire chunk of code and copy/paste it into another window grabs all of the line numbers, too. (Or at least, it did the last time I tried it quite a few months ago.)
So for longer examples that the reader might want to copy/paste into a macro window for testing/experimentation purposes, leaving out the line numbers is probably best. Instead, maybe some kind of font control or HTML comments can be used to highlight sections of code being discussed...? (I don't know how much font control is possible inside a <source> block, but I expect there isn't any.)
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
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Forms tutorial
I see you added rumble's click based targeting, I've just implemented that into my framework.
In all looks pretty neat wiki, very very usefull.
btw.: Might I suggest you update your first post with the 'correct' link to the wiki?
In all looks pretty neat wiki, very very usefull.
btw.: Might I suggest you update your first post with the 'correct' link to the wiki?
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
- CoveredInFish
- Demigod
- Posts: 3104
- Joined: Mon Jun 29, 2009 10:37 am
- Location: Germany
- Contact:
Re: Forms tutorial
I kind of already did. Maybe i make it more prominent.wolph42 wrote:btw.: Might I suggest you update your first post with the 'correct' link to the wiki?
Re: Forms tutorial
LOL (first time I got the old wiki, which is why i mentioned it)
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