Contents
Strategic Partner Links
Sepasoft - MES Modules
Cirrus Link - MQTT Modules
Resources
Knowledge Base Articles
Inductive University
Forum
IA Support
SDK Documentation
SDK Examples
Given a component event object, looks up a sibling component. Shortcut for event.source.parent.getComponent("siblingName"). If no such sibling is found, the special value None is returned.
This scripting function has no Client Permission restrictions.
system.gui.getSibling(event, name)
EventObject event - A component event object.
String name - The name of the sibling component.
PyObject - The sibling component itself.
Client
# This example will get its sibling Text Field's text, and use it. textField = system.gui.getSibling(event, 'TextField (1)') if textField is None: system.gui.errorBox("There is no text field!") else: system.gui.messageBox("You typed: %s" % textField.text)