Purpose

.MouseOverGraphic allows you to specify the graphic to be applied to certain objects when the mouse pointer is positioned over it.
 

Syntax

Setting:        ObjectReference.MouseOverGraphic = Value

Retrieving:   Variable = ObjectReference.MouseOverGraphic
 

Operation

ObjectReference is the Tag Name of the object
Value is the Graphic filename string.
Variable is an alphanumeric variable

 

Remarks

The MouseOverGraphic appears on the icon or when the mouse is moved over the object if the property has been explicitly set.

A graphic can have three variants (in addition to the base version) that PROIV will automatically use without programmer intervention, one of which is the graphic displayed when the mouse hovers over the object. This automatic use can be overridden by setting the .MouseOverGraphic property.

The retrieving command will cause the variable to contain the value in the same format it was specified.
 

Example

To set the MouseOverGraphic filename "Visa_MO.BMP" to the icon object (Tag Name = CUSTOMERACTIVEICON:

CUSTOMERACTIVEICON.MouseOvergraphic = "Visa_MO.BMP"


To change the icon using a variable:

$VISA_MO = "Visa_MO.BMP"
CUSTOMERACTIVEICON.MOUSEOVERGRAPHIC = $VISA_MO


To retrieve the MouseOverGraphic file name from the icon:

$CUSTOMERACTIVEICON_MO = CUSTOMERACTIVEICON.MouseOverGraphic
 

Comment on this topic

Topic ID: 510070