- Getting started
- Using the software
- OPC UA
- Graphic and layout objects
- Developing solutions
- Developing projects with C#
- Application examples
- UI tutorial
- NetLogic tutorial
- Object and variable references
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 enterEditConfirmationDialogContext.
- 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 selectAddVariable.
- Hover-over the variable, selectand enterEditMessage.
- SelectInt32and selectLocalizedText.TIP: If you do not see the required option, select theShow allcheck box.
- Remove theMessagevariable value.
- InProject viewpane, right-clickConfirmationDialogContextType (type)and select .
- Hover-over the method invocation, selectand enterEditOnConfirm.
- InProject view, right-clickConfirmationDialogContextType (type)and select .
- Hover-over the method invocation, selectand enterEditOnCancel.
Provide Feedback