5E Character Create Playlist
  1. #1

    Adding Icons to a window dyanmically

    Folks,

    Can anyone help with, or provide me where to find something that does the following:

    I have a pop-up window which needs to show the last dice results rolled. Those are being stored and I can read them.

    I have icons that represent the values I wish to display.

    So what I want to do is iterate through my 'stored results' and then add a control showing my icon in the window, how do I achieve this?

    Thanks in advance,
    MBM
    Ruleset and much more content built for FGU.
    Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!

  2. #2
    If I understand what you’re asking, I would probably do an unsourced windowlist that has very simple windows that only contained a generic control. Then, I would create a window and assign an icon to that window’s control. I assume that these are static.

    You might also look at the manual rolls window; which does something similar I believe, just for a different purpose.

    Regards,
    JPG

  3. #3
    Quote Originally Posted by Moon Wizard View Post
    If I understand what you’re asking, I would probably do an unsourced windowlist that has very simple windows that only contained a generic control. Then, I would create a window and assign an icon to that window’s control. I assume that these are static.

    You might also look at the manual rolls window; which does something similar I believe, just for a different purpose.

    Regards,
    JPG
    Hi Chap,

    What I've just done (which appears to be working of sorts), I've dropped 10 buttoncontrols on the window, all positioned correctly - and they work with the click, which allows me to remember/count how many are 'clicked'.

    I discovered the Manual Rolls window earlier tonight, that's excellent, as part of this is for the VtM to allow certain dice to be re-rolled.

    Cheers,
    MBM
    Ruleset and much more content built for FGU.
    Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!

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
  •  
FG Spreadshirt Swag

Log in

Log in