- Getting started
- Creating projects
- OPC UA
- Graphic objects
- Predefined graphic objects
- Sessions and locales
- Object and variable references
- Extending projects
- NetLogic
- NetLogic tutorial
Create a context object for the dialog
A context object enables you to reuse the same dialog type in different panes and for different purposes.
- Create the context object:
- InProject view, right-clickUIand select .
- Hover-over the object, select, and enterConfirmationDialogContext.
- Convert the context object into an object type:
- InType view, double-clickUser interface.
- FromProject view, dragConfirmationDialogContextinto theType viewpane.InProject view,ConfirmationDIalogContextType (type)appears.
- InProject view, right-clickConfirmationDialogContextand selectDelete.
- Configure the context object type:
- InProject view, selectConfirmationDialogContextType (type).
- InProperties, at the top, selectand selectVariable.
- Hover-over the variable, selectand enterMessage.
- SelectInt32and selectLocalizedText.TIP: If you do not see the required option, select theShow allcheckbox.
- Remove theMessagevariable value.
- InProject view, right-clickConfirmationDialogContextType (type)and select .
- Hover-over the method invocation, selectand enterOnConfirm.
- InProject view, right-clickConfirmationDialogContextType (type)and select .
- Hover-over the method invocation, selectand enterOnCancel.
Provide Feedback