favSetModifiedFlag

AVVIEWER Subroutine: Sets the modified flag.

Module: USE AVVIEWER

Syntax

favSetModifiedFlag (hv, bModified, status)

hv
A handle that references an instance of Array Viewer created by favStartViewer.

bModified
An input argument of type INTEGER(4). If set to nonzero, the modified flag is set; otherwise, the modified flag is cleared.

status
An output argument of type INTEGER(4). It returns a status code for the success of this call. The value 0 indicates success.

Remarks

When a change in the Array Viewer state is made, either by a fav routine or user interaction, the Viewer sets an internal flag noting that the state has been modified. If the flag is set, and the user closes the Viewer window, a dialog is displayed asking if the changes should be saved. This method can be used to modify the current value of the modified flag.

For example, if you do not want the user prompted to save changes, you can use the following call after making any fav call that modifies the Array Viewer state:

favSetModifiedFlag(hv, 0, status)

See Also

favGetModifiedFlag