DtoSelectionItem Object
An object representing a possible value of a selection type setting.
Properties
Methods
None
Remarks
The AllPossibleSelections property of the DtoSetting Object returns the DtoSelectionItems collection.
Example
Set first_setting = my_settings.Item(1)
 
Dim type as dtoSettingType
type = first_setting.Type
 
’ only call this for selection type settings
’ see Setting Type enumeration
’ for a list of setting types
 
if (type = dtoSingleSel) OR (type = dtoMultiSel) then
Dim all_the_selections as DtoSelectionItems
Dim selection as DtoSelectionitem
Set all_the_selections = first_setting.AllPossibleSelections
 
Dim String_text as String
For each selection in all_the_selections
String_text = selection.String
Next
See Also
DtoSelectionItems Collection
DtoSetting Object