Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/28/20, 07:40 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,581
You can create new elements from Lua code via the window manager. Either by creating everything from scratch and setting all the values manually, or by using xml templates. However, you can never destroy a control once it has been created. That's why you should absolutely use a control pool and reuse them when you do any dynamic allocations like that.
You can find more information in part 6 and part 7 of the simple notebook tutorial.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » procedural creation of UI elements


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off