Making view-based widgets

This procedure creates a view-based widget using the Make Widget wizard.
Prerequisites: A Px View canvas is open. No open palette is required.
  1. In the Nav Tree, expand the tree to locate the componentto add to the Px Editor canvas.
    Image
  2. Drag the component to the canvas.
    The Make Widget wizard opens.
    Image

    The ord for the selected component displays in the ord area.

  3. To bind to a different slot or component, double-click the ord and browse to the different slot in the component (for example: out or value) or to a different component.
  4. Select Workbench View from the Source options list.
    The Secondary view area displays a list of the types of view options (Property Sheet, Chart, etc.) that are available for the selected component.
    Image
  5. In the secondary view area, select the desired component view to add.
    The AX Property Sheet and Property Sheet views display the component properties.
    Image
  6. In the Properties area, edit the widget template properties, as desired and click OK.
    The Make Widget wizard closes and the new widget view opens on the Px Editor canvas.
    Image
  7. Use the handles on the widget view to expand the view to the desired size or edit the Layout property in the properties side bar.
    Scroll bars appear if the widget view is larger than the canvas view area.
  8. To display the result in the Px Viewer, click Toggle View/Edit Mode (Image) in the tool bar.
    The view is fully functional in the Px viewer, where you can edit properties, invoke commands, or make other edits to a component, just as if you are editing in Workbench.
    Image