Thread: issue for manager window tab.lua
-
March 31st, 2024, 19:24 #1
issue for manager window tab.lua
I can't see a way to use <fastinit /> using the updated method to add tabs to records. I see that we can use <activate /> when we create the tab and this will force the that subwindow open but it is not ideal as this data tab now becomes the default the user sees.
Does this make sense and could this be added? I need the controls on the actions tab to be created so players can drop vehicle weapons on the main tab. Right now it appears my choices are to use activate or force players to open the tab prior to dropping the item record.
Thanks!https://forge.fantasygrounds.com/shop/items/199/view
Old School Essentials Ruleset
https://www.dmsguild.com/product/352...eon-Builder-5E
5e Random Dungeon Generator!
-
April 1st, 2024, 01:36 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 21,507
There is no way to use fastinit for the new tabbed windows, as they are created dynamically as needed; which also improves performance since unused tabs are never instantiated.
You'll need to write your code to not assume that a subwindow is available/open; and to try to update everything by database if possible (or to check if window exists if control is not data-bound).
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks