Get/Set Options List for a Dialog Property
DESCRIPTION:
Get or set a list of option items for a list box, combo box, or multi-select
combo box properties.
USAGE:
cbGetOptionList(dfProps, strPropName)
cbSetOptionList(dfProps, strPropName, strOptionList)
REQUIRED ARGUMENTS:
- dfProps
-
input data frame to the callback function.
- strPropName
-
a character string containing the property name.
- strOptionList
-
a string specifying the list of items to be displayed in the property.
This must be a single string with commas separating the values.
VALUE:
cbGetOptionList
returns a character string of comma separated values
from the options list column of
dfProps
for the
strPropName
row.
cbSetOptionList
returns a data frame like
dfProps
with the options list column
for the
strPropName
row set to
strOptionList
.
SEE ALSO:
,
,
.
EXAMPLES:
See the example file samples/dialogs/propcomm.ssc where samples is in your S-PLUS directory.