ComponentOne VSFlexGrid 8.0
ComboData Property

Returns the long value associated with an item in the editor's combo list.

Syntax

val& = [form!]VSFlexGrid.ComboData([ Index As Long ])

Remarks

You may assign data values to list items when you define the list, using the ComboList or ColComboList properties. Once the list is created, the data values cannot be changed and become read-only.

Assigning data values to list items serves two purposes:

1.   If you do it using the ColComboList property, the control stores the data value instead of the string. See the ColComboList property for details.

2.   If you do it using the ComboList property, the control does not perform any mapping. In this case, the value is available for use by the programmer, for example to store an index into an array or a database record ID.

Note

The value -1 is reserved and may not be used as an entry ID.

Data Type

Long

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback