Difference between revisions of "AN0321 - Node Names and References"

From Serious Documentation
Jump to: navigation, search
Line 4: Line 4:
  
 
It covers direct references by name, anonymous reference by node type (e.g. page.visible), and anonymous relative references (e.g. parent.iw).
 
It covers direct references by name, anonymous reference by node type (e.g. page.visible), and anonymous relative references (e.g. parent.iw).
 +
 +
Note: in SHIP 5.1.125, the anonymous keyword "next" was added and supported.  Now you can forward reference siblings using ".next" just like you referenced prior siblings using ".previous".  Of course, you cannot have circular references, but this makes many widgets far easier to construct.
  
 
{{#widget:Vimeo|id=132156010|width=690|height=430}}
 
{{#widget:Vimeo|id=132156010|width=690|height=430}}
 +
 +
== Related Content ==
 +
 +
* [[AN0322 - Scope and Name Searching]] covers how,. when you refer to a named object, SHIPTide "finds" the object.  This is especially important to avoid unexpected references if you have more than one object with the same name in your GUI.
 +
* [[All_SHIPTide_Training_Videos]]
  
 
[[Category:Using SHIPTide to Build Your GUI]]
 
[[Category:Using SHIPTide to Build Your GUI]]

Revision as of 04:19, 28 June 2017

What's in a name?

This app note discusses how to name objects and reference object from scripts, listeners, and layout rules.

It covers direct references by name, anonymous reference by node type (e.g. page.visible), and anonymous relative references (e.g. parent.iw).

Note: in SHIP 5.1.125, the anonymous keyword "next" was added and supported. Now you can forward reference siblings using ".next" just like you referenced prior siblings using ".previous". Of course, you cannot have circular references, but this makes many widgets far easier to construct.

Related Content