https://www.lavishsoft.com/wiki/index.php?title=LGUI2:Locate&feed=atom&action=historyLGUI2:Locate - Revision history2024-03-28T18:52:15ZRevision history for this page on the wikiMediaWiki 1.33.0https://www.lavishsoft.com/wiki/index.php?title=LGUI2:Locate&diff=8308&oldid=prevLax: Created page with "LavishGUI 2 provides a fairly simple method to Locate an LGUI2:Element| either globally, or relative to another element. This is used for LGUI2:Hooks| and LGUI2:..."2019-09-01T14:32:57Z<p>Created page with "<a href="/wiki/index.php/LavishGUI_2" title="LavishGUI 2">LavishGUI 2</a> provides a fairly simple method to Locate an <a href="/wiki/index.php/LGUI2:Element" class="mw-redirect" title="LGUI2:Element">LGUI2:Element</a> either globally, or relative to another element. This is used for <a href="/wiki/index.php/LGUI2:Hooks" title="LGUI2:Hooks">LGUI2:Hooks</a> and LGUI2:..."</p>
<p><b>New page</b></p><div>[[LavishGUI 2]] provides a fairly simple method to Locate an [[LGUI2:Element|Element]] either globally, or relative to another element. This is used for [[LGUI2:Hooks|Hooks]] and [[LGUI2:Event Handlers|Event Handlers]], and in other situations as well.<br />
<br />
In all cases, there are 3 properties available to Locate an element:<br />
* '''Name''': Look for an element matching this name<br />
* '''Element Type''': Look for an element matching this type (e.g. "window")<br />
* '''Locate Flags''': One or more flags specifying the relationships to search for a matching element<br />
<br />
{| border="1" style="border-collapse:collapse" cellpadding="5"<br />
!colspan="2"|Locate Flags<br />
|-<br />
! none<br />
| <br />
|-<br />
! any<br />
| <br />
|-<br />
! child<br />
| <br />
|-<br />
! sibling<br />
| <br />
|-<br />
! ancestor<br />
| <br />
|-<br />
! cousin<br />
| <br />
|-<br />
! descendant<br />
| <br />
|-<br />
! self<br />
| <br />
|-<br />
! visible<br />
| The element must be visible<br />
|-<br />
! global<br />
| Locate the last-added element with the specified name<br />
|}<br />
<br />
<br />
{{LGUI2:Topic}}</div>Lax