-
October 6th, 2019, 01:35 #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,
MBMRulesets - Mongoose Traveller 2E & Mongoose Traveller (1e)
Call of Cthulhu: Secrets of New Orleans, Canis Mysterium, Fatal Experiments, The House of R'lyeh, Secrets of San Francisco and Secrets of Tibet.
Token Packs: Cyberpunk Tokens Pack
Plus more...
-
October 6th, 2019, 02:23 #2
Developer
- Join Date
- Mar 2007
- Posts
- 11,231
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,
JPGFG Wish List - http://fg2app.idea.informer.com/
-
October 6th, 2019, 02:27 #3
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,
MBMRulesets - Mongoose Traveller 2E & Mongoose Traveller (1e)
Call of Cthulhu: Secrets of New Orleans, Canis Mysterium, Fatal Experiments, The House of R'lyeh, Secrets of San Francisco and Secrets of Tibet.
Token Packs: Cyberpunk Tokens Pack
Plus more...
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks