Recent

Author Topic: [CLOSED] TComboBox.Autodropdown not working with Cocoa  (Read 1601 times)

wittbo

  • Full Member
  • ***
  • Posts: 150
[CLOSED] TComboBox.Autodropdown not working with Cocoa
« on: February 25, 2020, 01:26:03 pm »
Lazarus Windows ist OK.
Lazarus macOS Carbon is OK.

Lazarus macOS cocoa: the combobox list does not open on typing something into the field.
Does anyone have an idea for a workaround?

The goal is:  the user types something and the system searches at each keypress an external source (internet, database, ...), if it finds something containing the text in the field. If there is something, the corresponding phrases are filled into the itemlist of the combobox, so the user can select one. Everything works as desired, but the user cannot see, that there is something, since the dropdown list remains closed.
« Last Edit: February 26, 2020, 02:15:08 pm by wittbo »
-wittbo-
MBAir with MacOS 10.14.6 / Lazarus 2.2.4
MacStudio with MacOS 13.0.1 / Lazarus 2.2.4

wittbo

  • Full Member
  • ***
  • Posts: 150
Re: TComboBox.Autodropdown not working with Cocoa
« Reply #1 on: February 26, 2020, 02:14:43 pm »
I made a workaround: replace the combobox by an edit plus a listbox and control the handling step by step by means of OnClick and OnKeyUp-Events.
-wittbo-
MBAir with MacOS 10.14.6 / Lazarus 2.2.4
MacStudio with MacOS 13.0.1 / Lazarus 2.2.4

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: [CLOSED] TComboBox.Autodropdown not working with Cocoa
« Reply #2 on: February 26, 2020, 11:12:47 pm »
Did you lodge a bug on the Bugtracker? If not, it is unlikely to be fixed in the near to mid term.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: [CLOSED] TComboBox.Autodropdown not working with Cocoa
« Reply #3 on: February 27, 2020, 01:33:42 pm »

 

TinyPortal © 2005-2018