Recent

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

wittbo

  • Full Member
  • ***
  • Posts: 152
[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 M2 with MacOS 14.4.1 / Lazarus  3.2.2
MacStudio M1 Max with MacOS 14.4.1 / Lazarus 3.2.2

wittbo

  • Full Member
  • ***
  • Posts: 152
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 M2 with MacOS 14.4.1 / Lazarus  3.2.2
MacStudio M1 Max with MacOS 14.4.1 / Lazarus 3.2.2

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2032
  • 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