RPTools.net

Discussion and Support

Skip to content

It is currently Sun Jul 23, 2017 3:35 am 






Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Forms tutorial
PostPosted: Sun Sep 05, 2010 5:26 pm 
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.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Last edited by CoveredInFish on Thu Sep 09, 2010 5:37 am, edited 3 times in total.

Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Sat Feb 13, 2010 2:35 am
Posts: 1001
Location: California
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Sun Sep 05, 2010 6:53 pm 
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."


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Sep 11, 2007 6:31 pm
Posts: 5410
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Sun Sep 05, 2010 6:57 pm 
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..


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Mon Sep 06, 2010 4:23 am 
Update.

Mentioned the html/css version. Closed some fixme's.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9265
Location: Netherlands
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Mon Sep 06, 2010 4:56 am 
argh. And you make this AFTER I've spend weeks learning html to create a couple of (rather complex) input forms for my framework... :x

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

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Mon Sep 06, 2010 5:43 am 
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.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Tue Sep 07, 2010 4:48 am 
This is now in the maptool wiki: http://www.lmwcs.com/rptools/wiki/Forms_tutorial

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9265
Location: Netherlands
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Tue Sep 07, 2010 6:13 am 
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.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Tue Sep 07, 2010 9:53 am 
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.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 12070
Location: Tampa, FL
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Tue Sep 07, 2010 10:04 am 
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.)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9265
Location: Netherlands
 Post subject: Re: Forms tutorial (WIP, critic requested)
PostPosted: Tue Sep 07, 2010 10:11 am 
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.)


that is (still) true and indeed annoying. Though I still like it more with the line option on... no biggie though.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Forms tutorial
PostPosted: Thu Sep 09, 2010 4:55 am 
Added some screenshots.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9265
Location: Netherlands
 Post subject: Re: Forms tutorial
PostPosted: Thu Sep 09, 2010 5:31 am 
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?

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 3108
Location: Germany
 Post subject: Re: Forms tutorial
PostPosted: Thu Sep 09, 2010 5:32 am 
wolph42 wrote:
btw.: Might I suggest you update your first post with the 'correct' link to the wiki?

I kind of already did. Maybe i make it more prominent.

_________________
HELP: GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC.

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9265
Location: Netherlands
 Post subject: Re: Forms tutorial
PostPosted: Thu Sep 09, 2010 5:54 am 
LOL (first time I got the old wiki, which is why i mentioned it)

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

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 post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman