Quantcast ESOUI - View Single Post - Check if control exists
View Single Post
10/05/17, 02:10 PM   #4
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,270
I believe your problem is because GetNamedChild only returns controls that are prefixed with the parent name. When creating a control you can write "$(parent)<myname>" and it will automatically prefix it with the parent control's name. Then it should work.

But for this kind of problem you should use an ZO_ObjectPool anyways. It takes care of creating and managing your virtual controls.
Like what I do? Support me on Patreon!
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
  Reply With Quote