[Lazarus] TComboBox: Is different behaviour when DroppedDown possible?

Ondrej Pokorny lazarus at kluug.net
Mon Jan 4 16:14:47 CET 2021


On 04.01.2021 15:28, frans via lazarus wrote:
> I'm searching for an alternative behaviour of the TComboBox when 
> scrolling through the DroppedDown list. The selected item is also 
> displayed in the text field. But I would that text field unchanged 
> until the selected item is accepted by Enter. I've been searching the 
> internet but can't find anything.
> My own programming skills are not of a level to create a solution 
> myself. Did anyone else tried something like this?

TComboBox is a native control on all widgetsets, that means its behavior 
is under the control of the OS. I don't know what platform you are on, 
but at least on Windows this cannot be customized. You would need a 
completely custom TComboBox alternative.

Ondrej



More information about the lazarus mailing list