MOUSEPRESSEDLABEL |
DEVELOPER |
MOUSEPRESSEDLABEL
|
|
Purpose |
.MousePressedLabel allows you to specify the label to be applied to certain objects when the mouse pointer is over it and the primary mouse is depressed. Note that the Drag operation does not have its own Logic Event (logic is fired on the Drop). Consequently, you must set the visual appearance of the Drag avatar in code before the Drag occurs in the Timing Cycle. Click here for more information about Drag and Drop. |
Syntax |
Setting: ObjectReference.MousePressedLabel = Value |
Operation |
ObjectReference is the Tag Name of the object |
Remarks |
|
Example |
To set the MousePressedLabel to 'Visa selected' for an Icon object (Tag Name = CUSTOMERACTIVEICON: CUSTOMERACTIVEICON.MousePressedLabel = 'Visa selected' or
To retrieve the current MousePressedLabel text from that same object: $CUSTOMERACTIVEICON_MPLABEL = CUSTOMERACTIVEICON.MousePressedLabel |
Note: .MousePressedLabel and .MousePressedGraphic properties are not new to PROIV but can be used to configure the appearance of the Drag avatar in PROIV used in the Drag and Drop functionality. |
Topic ID: 510073