FG Spreadshirt Swag
  1. #1

    replace/merge possible w/o having same name object?

    I've a need to have a windowclass with different options, but not so many I want to write a new one. I'm hoping there is a way to use the merge/replace/delete options within the ruleset I'm working with.

    Example "charsheet_actions_powers" needs to view powers differently than "recordslist_actions_powers" would. What I'd like to do is have charsheet_actions_powers be the primary and then have recordslist_actions_powers merge/replace bits from that.

    Is that possible? Or do I just have to have two full copies with the differences?
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

  2. #2
    There’s no way to template window classes.

    When I need to do that, I tend to encapsulate a lot of the internals as control templates, so I can reuse among both windows.

    Regards,
    JPG

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    There’s no way to template window classes.

    When I need to do that, I tend to encapsulate a lot of the internals as control templates, so I can reuse among both windows.

    Regards,
    JPG
    Understood. I suspected as much. I've currently got it split to individual windowclasses. I'll go through and see if there are other items within I can template in each to further reduce the replication.
    ---
    Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
    Documentation for AD&D 2E ruleset.
    Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
    Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.

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