Combobox different behavior Device/Desktop

Discussion in 'Questions (Windows Mobile)' started by kohle, Feb 4, 2009.

  1. kohle

    kohle Active Member Licensed 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 ?
  2. klaus

    klaus Expert Licensed 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.

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice