Syntax for RibbonComboBoxItem controls
Description
Obtains the text of an item from a ribbon combo box.
Applies to
RibbonComboBoxItem controls
Syntax
|
1 |
controlname.Text (Integer Index) |
|
Argument |
Description |
|---|---|
|
controlname |
The name of the RibbonComboBoxItem control for which you |
|
Index |
The index of the item for which you want the text |
Return value
String.
Returns the text of the item in the box portion of the combo box.
If any argument’s value is null, returns null.
Examples
This example gets the text of the item whose index number is 2. It
returns “Item2”.
|
1 2 3 4 5 6 7 |
Integer li_Return String ls_Text RibbonComboBoxItem lr_ComboBox li_Return = lr_ComboBox.AddItem("Item1") li_Return = lr_ComboBox.AddItem("Item2") ls_Text = lr_ComboBox.Text(2) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest