Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A Choose Window is a floating window containing a simple toolbar and a grid. It serves as a lookup screen allowing the user to select a specific value from the list of records in order to use it in a dynSelect control in Form.

Creating the chooseWindow

1.In Layout Designer start with creating a new object by using the "SwatChooseWindowStandard" template which only contains the toolbar and no grid or business entity objects. 

...

2. In Design View add the grid and business entity objects to the choose window object by drag-and-drop after searching for these objects. In Links view add the "Data" link between the business entity object and the grid object and also the "Primary Sdo" link between the container and the business entity object. Set the "enabled" attribute of the grid to FALSE.

Using the chooseWindow in a dynSelect

3. Open the window repository object where the ChooseWindow will be used. Double click on the form to open the Form Builder and find the corresponding dynSelect control. Set the AxLookupDialog attribute value to the ChooseWindow object name previously created.

...