hedgewizard
February 17th, 2006, 18:31
Hello again! I am very close to completing my character sheet, but I ran into a couple of questions that I couldn't quite figure out by looking through examples. I am new to xml, but I have some limited HTML experience.
First question regards numbercontrol. I was finishing up my character sheet last night, and tried to implement it as written below
<numbercontrol name="WS">
<bounds rect="144,682,34,23" />
<nodrag />
<nodrop />
<noreset />
<description text="WeaponSkill" />
<limits minimum="01" maximum="99" />
<tabtarget next="BS" prev="cur_exp" />
</numbercontrol>
When I open the sheet, the area is already pre-filled with numbers, and when I click on the area to change the numbers, the program crashes.
What on earth am I missing?
Second question: Is it possible (and if so, how) to grab a string (from stringcontrol for example) and have that info pre-fill a space?
Here's an example of what I am trying to do: I fill in an NPC name ("npc_name") on their main sheet, and then when I open their mini sheet, I want a designated section of that mini-sheet to display that NPCs name.
Thanks in advance for your help!
First question regards numbercontrol. I was finishing up my character sheet last night, and tried to implement it as written below
<numbercontrol name="WS">
<bounds rect="144,682,34,23" />
<nodrag />
<nodrop />
<noreset />
<description text="WeaponSkill" />
<limits minimum="01" maximum="99" />
<tabtarget next="BS" prev="cur_exp" />
</numbercontrol>
When I open the sheet, the area is already pre-filled with numbers, and when I click on the area to change the numbers, the program crashes.
What on earth am I missing?
Second question: Is it possible (and if so, how) to grab a string (from stringcontrol for example) and have that info pre-fill a space?
Here's an example of what I am trying to do: I fill in an NPC name ("npc_name") on their main sheet, and then when I open their mini sheet, I want a designated section of that mini-sheet to display that NPCs name.
Thanks in advance for your help!