Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Options - property of object PmiWCombo

Description:
Reading visible texts, hidden values or whole options from the list by the index.
Syntax:
Options(nIndex As Integer, nType As Integer) As String
Calling:
string = oCombo.Options(nIndex, nType)
Parameters:
nIndex(Integer) Index of the option in the list (zero-based index).
nType(Integer) to be read:
0 - visible text of option
1 - hidden value of option
2 - the whole option
Note:
Property access for read only. The option is in the form of val=text, where val represents the hidden value of the option (identifier), text represents the displayed text of the option itself. The property returns really the displayed text (potential Macro expression $.text is already evaluated).
 
This property is also functional for Web Panels.
See also:
Example:
See method AddOption.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice