Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-23-16, 05:59 PM   #1
TimothyLuke
A Fallenroot Satyr
 
TimothyLuke's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 24
Referencing objects

Hi Everyone,

I asked this over in ACE land as im using ACEGUI but have not had a result so apologies for cross posting in advance. The original Post and the code is located https://forums.wowace.com/showthread.php?t=31389

What I am wondering is if I can reference objects via parent child relationship.

I have a logical structure for layout that looks like

frame, Layout container , tab container, textbox

can I reference this via something like

frame.layoutcontainer.tabcontainer.textbox:function()

The tab control expects that I "release objects" and recreate them each time I change tabs. What I want to be able to do is be able to use a function on a widget that is outside the tab container reference an object that I know will exist.
__________________
BattleNet: TimothyLuke#1860
WowLazyMacros/Curse/GitHub/WowInterface: TimothyLuke

Most Commonly Played Characters:
Huldrych@Dath'Remar
Draik@Nagrand
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Referencing objects


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