DesktopComboBox.Text
From Xojo Documentation
You are currently browsing the old Xojo documentation site. It will go offline as of October 2, 2023. Please visit the new Xojo documentation site! - you will be redirected shortly... |
Property (As String )
aDesktopComboBox.Text = newStringValue
or
StringValue = aDesktopComboBox.Text
New in 2021r3
Supported for all project types and targets.
or
StringValue = aDesktopComboBox.Text
New in 2021r3
Supported for all project types and targets.
Gets or sets the value of the current item. Text is read/write for DesktopComboBox.
Sample Code
This code sets the value of the currently selected item and then displays it in a DesktopTextField.
ComboBox1.Text = "Frodo"
TextField1.Text = ComboBox1.Text
TextField1.Text = ComboBox1.Text