Starting the event by clicking the graphic object in the picture

In process D2000 GrEditor, it is possible to connect an object of Event type to control (e.g. by pressing the mouse button). There is the input field intended to enter a text parameter in the palette Connect object - the tab Control.

Clicking an object configured in this way (necessary assumption - running process D2000 Event Handler, that is the parent of the given event) will start the event instance. In this case, the predefined local variables are to be filled, as follows:

Predefined variable nameVariable typeMeaning
_FROM_HIPALIAS _FROM_HIPAlias is initialized as the reference to an object of HIP type (Human interface), where the picture is opened in. *
_HIP_PAR_STRTEXT _HIP_PAR_STRText parameter.
_HIP_USER_DESCTEXT _HIP_USER_DESCDescription of the logged-on user, enhanced with the computer name.

* The parameter _FROM_HIP can be used for communication with the D2000 HI process, the instance was started from.

For example the action

MESSAGE "Event Start" ON _FROM_HIP

displays for the user the text message "Event Start".

Note:
In version 4.5 and higher, it is better to use The Active picture for interactive communication with users.

Napíšte komentár