Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2021-01

TComboBox: Is different behaviour when DroppedDown possible?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

frans

Hi,

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?

mvg Frans van Leeuwen M 06-51695390 -- Deze e-mail is gecontroleerd op virussen door AVG. http://www.avg.com

Reply by email

Ondrej Pokorny
to frans
frans wrote 7 lines
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

Reply by email