ValueList
Collection elements:
Iteration through collection using For each ... In ... Do operator is available to object. Collection items are retrieved during iteration.
Access to collection item is possible using [...] operator. Item index (starting from 0) is passed as an argument.
Properties:
ValueType
Methods:
CheckItems
ChooseItem
Clear
Copy
Count
Delete
FillChecks
FindByID
FindByValue
Get
IndexOf
Insert
LoadValues
Move
ShowCheckItems
ShowChooseItem
SortByPresentation
SortByValue
UnloadValues
Constructors:
Description:
Exchange with server is not available in the OrdinaryApplication run mode!
Availability:
Exchange with server is possible. Serializable. The given object may be serialized to/from XDTO. The XDTO type correspoding to this object is defined in {http://v8.1c.ru/8.1/data/core} namespace. XDTO type name: ValueListType.
Example:
// Moving an item in the list field one line forward. // List - value list; // CurListElement - current list element. If CurListElement <> Undefined Then LineNumber = List.IndexOf(CurListElement); If LineNumber + 1 < List.Count() Then List.Move(CurListElement, 1); EndIf; EndIf; |
See also:
ComboBox, property ChoiceList
TextBox, property ChoiceList
ValueList, method Copy
Form, method ChooseFromList
Form, method ChooseFromMenu
CustomField, property ValueList
CustomFields, method Add
CustomFields, method Insert
EnumList, property Filter
System enumeration text box extension, property AvailableValues
Enum text box extension, property AvailableValues