Purpose

.DisabledGraphic allows you to specify a graphic to replaced default "greying-out"  supplied by PROIV when certain objects are disabled.
 

Syntax

Setting:            ObjectReference.CursorGraphic = Value

Retrieving:       Variable = ObjectReference.DisabledGraphic
 

Operation

ObjectReference is the Tag Name of the object
Value
is any valid graphic filename string
Variable
is an alphanumeric variable
 

Remarks

The specified graphic will be used when the object is disabled.

The graphic can be any bmp, gif, ani  located in

If not found the Windows Client will grey out the object using its own algorithm.
 

Example

To change the icon graphic to Visa_MO.BMP when the icon is disabled:

CUSTOMERACTIVEICON.DisabledGraphic = "Visa_MO.BMP" or:

$VISA_MO = "VIS_MO.BMP"
CUSTOMERACTIVEICON.DisabledGraphic = $VISA_MO


To retrieve the graphic file name displayed when the CUSTOMERACTIVEICON object is disabled:

$CUSTOMERACTIVEICON_MO = CUSTOMERACTIVEICON.DisabledGraphic
 

Comment on this topic

Topic ID: 510050