How to Refer to the Current Item of a Tree View or List View |
To refer to the current item of a tree view or list view from within the same GUI class that the view is in, use the Object Activator to select the appropriate tree view or list view object, and then use the GetValueFromCurrentItem( ) method. This method applies to tree views and list views. Also see: Actions Example 10. If you want to make the reference from OUTSIDE the GUI class that the view is in:
For this type of scenario, see Actions Example 10: Catalog Node Leading to Data Query.
For this type of scenario, where the user-defined property holds an object instead of a simple string value, see Actions Example 11: Window with Separate Search Dialog. |