ValueListItem

Properties:

Check
Picture
Presentation
Value

Methods:

GetID

Description:

Used to access properties and methods of the value list element.

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Example:

SelectionOfPriceTypes = Catalogs.PriceTypes.Select();
PriceTypes = New ValueList;
While 
SelectionOfPriceTypes.Next() Do
    CurExtra = SelectionOfPriceTypes.Markup;
    If 
CurExtra > 10 Then
        PriceTypes.Add(SelectionOfPriceTypes.Ref, CurExtra);
    EndIf
;
EndDo
;

Choice = PriceTypes.ChooseItem("Choose the extra charge.");
If 
Choice <> Undefined Then
    PriceType = Choice.Value;
EndIf
;

See also:

ListBox, property ShowPicture
ListBox, property ShowCheckBox
ListBox, property CurrentRow
ValueList, method Get
ValueList, method Insert
Form, method ChooseFromList
ValueList, method Add
ValueList, method ChooseItem
ValueList, method IndexOf
ListBox, event Selection

    

1C:Enterprise Developer's Community