Checks Message Type from Dialog

DESCRIPTION:

These functions can be used to check the type of message that is being sent from the dialog subsystem when a callback function is called. Only of these functions will return TRUE when the callback function is called.

USAGE:

cbIsApplyMessage(dfProps) 
cbIsCancelMessage(dfProps) 
cbIsInitDialogMessage(dfProps) 
cbIsOkMessage(dfProps) 
cbIsUpdateMessage(dfProps) 

REQUIRED ARGUMENTS:

dfProps
input data frame to the callback function.

VALUE:

a logical value. This will be TRUE for: cbIsApplyMessage if the Apply button was clicked in the dialog; cbIsCancelMessage if the Cancel button was clicked in the dialog; cbIsInitDialogMessage if this is the initial call, before the dialog is displayed; cbIsOkMessage if the OK button was clicked in the dialog; cbIsUpdateMessage if a field in the dialog has just been updated.

EXAMPLES:

See the example file samples/dialogs/propcomm.ssc where samples is in your S-PLUS directory.