Fantasy Grounds Merchandise
Page 104 of 114 First ... 45494102103104105106 ... Last
  1. #1031
    So is there anyplace to go to learn about anchoring objects in the UI.

    I am not getting it.

  2. #1032
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    27,247
    Blog Entries
    1
    Anchoring to what...
    The Ruleset Wizard gives you a bunch of GUI options that are much easier to work with in my opinion.
    There are some videos here on Anchoring that might help.

    https://www.youtube.com/channel/UCRC...0XZAloA/videos

    Otherwise explain/share what you are trying to do and hopefully we can work it out together!

  3. #1033
    Thanks. I am trying to anchor container to a frame, and then anchor UI input elements within that container.

    But I am really a baby when it comes to this. I am not even sure what questions to ask.

    So I am going to watch these vids and do some experimentation. Then I can have more focused questions, I hope.

    Thanks for pointing me in the right direction.

  4. #1034

  5. #1035
    If you're talking about a subwindow/container object, they will contain a separate window class. You would need to create the window class that the container points to with the layout you want within the subwindow/container.

    If you're talking about creating a generic framed control, after you position/size the frame; you would want to use the <anchored to="framename" position="insidetopleft" offset="#,#" width="#" height="#" /> to position controls within the field (assuming you want to position from the top/left corner of the frame with a fixed width and height).

    Generally, I find it easiest to use an existing ruleset, and make minor adjustments to learn the system first.

    I don't use the ruleset wizard at all, just define controls with positions relative to parent window and/or other controls.

    Regards,
    JPG

  6. #1036
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,372
    Quote Originally Posted by PantsORama View Post
    So is there anyplace to go to learn about anchoring objects in the UI.

    I am not getting it.
    Are you using the ruleset wizard application outside of FG or is this a question about general FG UI coding?
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  7. #1037
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    27,247
    Blog Entries
    1
    Its a Ruleset Wizard question. You cant really mix coding in and out of the Wizard. You do it all in the Wizard. You can code by hand in the Wizard but you cant edit the files outside of the Wizard as they will get over-written when you regenerate the PAK file.

  8. #1038
    Quote Originally Posted by Elawyn View Post
    I attached in a zip all my used roll Handlers. If you need the whole extension, tell me. Do not hesitate to ask me any question about my weird structure...

    My system uses competetive rolls, so I build all rolls like an attac roll but changed the not used DC against the results of the former roll of the opponent. I manage the data transfer in the CT by (hidden) number fields, cross-linked to the NPC/ charsheet. The damage rolls are quite normal I guess, but uses rTarget so I attached them too. The values "LP" and "AP" are hitpoints and endurancepoints. The SF value is a damage multiplier (damage is in most situations based on the roll difference)

    name explanation:

    InitHandler = initiative
    AngriffHandler = attac
    AbwehrHandler = defense (parry action)
    AusweichenHandler = defense (evade action)
    ResistenzHandler = resistance
    SkillHandler = skill
    SchockHandler = shocked
    FertigkeitDefensivHandler = competetive defense skill roll
    AbwehrAstralHandler = defense (magic)
    BFHandler/ PZHandler = breakage

    I hope this gives a clou , what I did within the rolls.
    Sorry, sometimes the forum does not warn me of new messages... Thanks, I'll take a look and see if I can find the problem.
    Ruleset Wizard
    The Ruleset Development Environment
    www.rulesetwizard.com
    Ruleset Wizard Tutorials
    Damned's Ruleset Wizard Tutorials

  9. #1039

  10. #1040

Page 104 of 114 First ... 45494102103104105106 ... Last

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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
  •  
TALES of the VALIANT

Log in

Log in