Get/Set Prompt for a Dialog Property

DESCRIPTION:

Gets or sets the prompt for a field in a dialog.

USAGE:

cbGetPrompt(dfProps, strPropName) 
cbSetPrompt(dfProps, strPropName, strPrompt) 

REQUIRED ARGUMENTS:

dfProps
input data frame to the callback function.
strPropName
a character string containing the property name.
strPrompt
a string specifying the prompt to be used in the dialog.

VALUE:

cbGetPrompt returns a character string which is the from the prompt column of dfProps for the strPropName row.

cbSetPrompt returns a data frame like dfProps with the prompt column for the strPropName row set to strPrompt.

SEE ALSO:

, , .

EXAMPLES:

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