ValueListItem
Properties:
Picture
Presentation
Value
Methods:
Description:
Availability:
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 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