Get/Set Enable Flag for a Dialog Property
DESCRIPTION: These functions get or set the enable flag for a dialog property in
a callback function.
If the enable flag is
TRUE
the property is enabled, if
FALSE
the property is disabled (greyed out).
USAGE:
cbGetEnableFlag(dfProps, strPropName)
cbSetEnableFlag(dfProps, strPropName, flag)
REQUIRED ARGUMENTS:
dfProps
input data frame to the callback function.
strPropName
the name of a property.
flag
a logical value, if
TRUE
the property is enabled,
if
FALSE
the property is disabled (grey-ed out).
VALUE:
cbGetEnableFlag
returns the logical value from the enable column
for the
strPropName
property in
dfProps
.
cbSetEnableFlag
returns a data frame like
dfProps
with the
enable column for the
strPropName
property set to
flag
.
SEE ALSO:
,
,
.
EXAMPLES:
See the example file samples/dialogs/propcomm.ssc where samples is in your S-PLUS directory.