Hi, <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I understand more your scenario. Let's assume two user interfaces:
Using the GTPU Message Box.
As Abhishek said, SM only provides a GTPU Message Box as a warning before executing an event. You could add an EventTrigger to all your screens inside the SM project (so all windows are listening to this event); this evenTrigger could be triggered by the change of a RAPID or signal data. Inside its Events Panel, you could enable the warning message box. The limitation here is that the text of the MessageBox can't be link to a RAPID date, so it is static.
Using your home-made Message Box.
Add an EventTrigger to all screens inside your SM project. In its Event Panel, you can add the action to open your home-made Message Box. Here you can link all texts to RAPID data.
Hope this proposal is different to your previous attempts
I meant to say "ActionTrigger" instead or "EventTrigger" ... <?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
1. The ActionTrigger is a component that you can add to your screen. Since this is a non-UI component, it will appear at the bottom of your Screen Designer window.
2. After selecting the actiontrigger, on the properties window you can bind of property ?_oValue?__ to a RAPID or signal data. This component will be listening to any changes in that data.
3. On the properties window, you can see the events (thunder) of this component. The ?_oTrigger?__ event is fired every time the data changes. Here you can command to show the warning message or open your home-made Message Box.
Remember that this action will be listening to any change in the item. You could turn on or off its functionality by Enable or Disable it (you can bind this a RAPID boolean data)
Hope this quick guide helps
It looks like you're new here. If you want to get involved, click one of these buttons!