Adding a switching condition
Add a switching condition to the User Guidance control.
- 1. Create a new UserControl or select the desired UserControl
- 2. Open the parameter window of the UserControl.
- 3. Add a new parameter.
- 4. The new entry can be named as desired.
- 5. Select the data type “TcHmi.Controls.Beckhoff.TcHmiUserGuidance.UserControlInterop”.
- The position of the new parameter is not relevant. The first occurrence of the data type is always searched for and only this is evaluated.
- You have successfully added a switching condition for the User Guidance control. When this UserControl is called up in a User Guidance control, the "confirmNext" parameter is now queried in the UserControlInterop structure. If this has the value True, it is possible to switch on.