SysVarChanged Event

Triggered when the value of a system variable is changed.

See Also | Example

Signature

object.SysVarChanged(SysVarName, NewVal)

object

Application
An object expression that evaluates to a valid container object. In this case, the only valid container is the application.

SysVarName

String; input to the handler
The name of the system variable whose value has changed.

NewVal

Variant; input to the handler
The new value of the system variable.

Remarks

This event indicates an attempt was made to change a system variable. It does not indicate the actual value was changed. In some cases, it is possible to set a system variable without causing its value to change. For example, if FILLMODE was 0 and someone tried to set it to 0, then you would get an event for that system variable even though the call had no actual effect on the value of FILLMODE.

No events will be fired while a modal dialog is being displayed.

 

   Comments?