How to Open a Window from a Tree View or List View |
You can allow the user of a tree view or list view to open a window by double-clicking on an area of the tree view or list view. You can make the new window display data corresponding to the current item in the tree view or list view. To open a window from a tree view or list view and display corresponding data:
QueryDefine() query.<column name>(<user-defined property>() ) QueryExecute()
<NewWindow>(<Tree/List View object>.GetValueFromCurrentItem( <column name> )).Window.Create() where <column name> is the name of the output column queried by the SELECT list of the tree view's or list view's SQL Query. For a detailed example, see Actions Example 10: Catalog Node Leading to Data Query. |