Combobox different behavior Device/Desktop

kohle

Active Member
Licensed User
Longtime User
When I compile for a device, the combobox is not editable,
when I compile for Windows Desktop it´s editable.

I want to switch editable = false for Windows Desktop Version
and if possible on a device editable = true. Possible ?
 

klaus

Expert
Licensed User
Longtime User
Hi kohle,

Behaviour differences of the ComboBox control
On the desktop:
- the Text field is editable
- ComboBox1.Text can be used to read AND change the text in text field
- ComboBox.Clear clears only the entries but NOT the text field

On the PPC:
- the Text field is NOT editable
- ComboBox1.Text is read only
- ComboBox1.Text="Something" doesn't work
- ComboBox1.Add(ComboBox1.Text) works
- ComboBox.Clear clears both, the entries PLUS the text field

Attached a small sample program to play with the ComboBox behaviour.

Best regards.
 

Attachments

  • TestComboBox.sbp
    1.6 KB · Views: 176
Top