DICE PACKS BUNDLE
  1. #1

    Making numbercontrols uneditable by the user

    In the charactersheet.xml there are some settings for numbercontrols like:
    <nodrag />
    <nodrop />
    <noreset />
    <displaysign />
    <invisible />

    Is there a setting that would make the box uneditable by the user? I am working on a 1st edition character sheet that is automatically filling in values of some numbercontrols that I don't want people to be able to change by accident.

  2. #2
    You have two options:

    Code:
    <value type="modifier" />
    This will cause any modifications to the value to show up as a separate bubble. This is good if you want the player to be able to make quick and temporary adjustments due to spells or effects, but still keep the intent of the field clear.

    Code:
    <value type="readonly" />
    <nokeyedit />
    This will disable edits altogether.
    Tero Parvinen
    Fantasy Grounds Guru

  3. #3
    Perfect, that is exactly what I was looking for. Even better is the value type="modifier", I like this feature, this will be very useful for spell effects.
    Just out of curiosity, is there a comand that will allow only the GM to edit the value?
    Thanks for the help!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in