Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: Letho
Forum: General Authoring Discussion 03/16/19, 12:45 AM
Replies: 18
Views: 7,856
Posted By Letho
Thanks for the clarification, merlight! I decided...

Thanks for the clarification, merlight! I decided to wirte LibTemplate for that purpose. Concerning the initialization: I put a zo_callLater(d("I am a template"),2000) into the applied TLW's...
Forum: General Authoring Discussion 03/15/19, 06:38 PM
Replies: 18
Views: 7,856
Posted By Letho
Okay, this is the XML that contains the container...

Okay, this is the XML that contains the container ("$(parent)_DisplayContainer") where the templates should be applied to:

<TopLevelControl name="AuraMasteryAuraActionsWindow" clampedToScreen="true"...
Forum: General Authoring Discussion 03/15/19, 12:53 PM
Replies: 18
Views: 7,856
Posted By Letho
A short excerpt from the control pool...

A short excerpt from the control pool source:



Sadly this is the case for my addon :(
So I will probably have to write a lib for it. Very time intense and I am not very experienced in writing...
Forum: General Authoring Discussion 03/15/19, 12:12 PM
Replies: 18
Views: 7,856
Posted By Letho
They do call <OnUpdate>. Virtual controls DO NOT...

They do call <OnUpdate>. Virtual controls DO NOT call <OnInitialized> though, each child control of a virtual has to call the <OnInitialized> functions seperately. That is very strange...
Forum: General Authoring Discussion 03/15/19, 10:25 AM
Replies: 18
Views: 7,856
Posted By Letho
Thanks for all the answers, guys, much...

Thanks for all the answers, guys, much appreciated! I will dig myself into SetCustomAcquireBehavior() and see how I can implement it! :)
Forum: General Authoring Discussion 03/14/19, 06:45 PM
Replies: 18
Views: 7,856
Posted By Letho
I know, i thought ApplyTemplateToControl() might...

I know, i thought ApplyTemplateToControl() might work as some sort of "ControlPoolManagementFactory", quite the way I currently handle it, but more sophisticated and elegant. Could you explain a (or...
Forum: General Authoring Discussion 03/14/19, 04:48 PM
Replies: 18
Views: 7,856
Posted By Letho
Ah no it's not about changing an existing objects...

Ah no it's not about changing an existing objects parameters, it's about entirely replacing a template by another. Example:

Container C: << apply template A to this container (menu for animations)...
Forum: General Authoring Discussion 03/14/19, 12:59 PM
Replies: 18
Views: 7,856
Posted By Letho
ApplyTemplateToControl question

Hey guys,

I have a TopLevelWindow that contains a header, a close button to the right and two buttons ("Sounds subcategory" and "Animations subcategory"):


<TopLevelControl...
Showing results 1 to 8 of 8