Sign in Join

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

Mailing lists / lazarus / 2003-07

TComboBox dropdown list

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Micha Nelissen

Hi list,

If you fire up win32-lazarus as it is now, open environment options. You'll some comboboxes are 'too low' and some are right. The distinction is like random to me, but the 'right' ones have 2 pixel drop down lists and 'wrong' positioned ones have a correct drop down list !! If you resize the form, the combo's jump into place, but the buttons are then too high and the drop down list problem stays.

Has anybody seen such comboboxes with 2 pixel drop down lists before on win32? Can't find any real answers on google, and in the source I don't know where to start debugging. The strings are added properly afaict.

Regards,

Micha.

Reply by email

Marc Weustink
to Micha Nelissen

+ From: Micha Nelissen
+ Sent: vrijdag 25 juli 2003 18:29
+
+ Hi list,
+
+ If you fire up win32-lazarus as it is now, open environment options.
+ You'll some comboboxes are 'too low' and some are right. The distinction
+ is like random to me, but the 'right' ones have 2 pixel drop down lists
+ and 'wrong' positioned ones have a correct drop down list !! If you
+ resize the form, the combo's jump into place, but the buttons are then
+ too high and the drop down list problem stays.
+
+ Has anybody seen such comboboxes with 2 pixel drop down lists before on
+ win32? Can't find any real answers on google, and in the source I don't
+ know where to start debugging. The strings are added properly afaict.

Yeah... I've seen them in my good old winapi programming time, I only can't remember what it was, but it is something, if you know it, it's logic :) I'll think of it while I'm on my way back home.

Marc

Reply by email

Marc Weustink
to Micha Nelissen: If you fire up win32-lazarus as it is now, open environment options. You'll some…

+ From: Micha Nelissen
+ Sent: vrijdag 25 juli 2003 18:29
+
+ Has anybody seen such comboboxes with 2 pixel drop down lists before on
+ win32? Can't find any real answers on google, and in the source I don't
+ know where to start debugging. The strings are added properly afaict.

Ah... now I remember (I think).

You can't set the height of the edit part of a combobox. THe height is the editpart inclusive the dropdown. So if you make the height larger, you'll get a larger dropdown.

Marc

Reply by email

Micha Nelissen
to Marc Weustink
Marc Weustink wrote 12 lines
+ From: Micha Nelissen + Sent: vrijdag 25 juli 2003 18:29 + + Has anybody seen such comboboxes with 2 pixel drop down lists before on + win32? Can't find any real answers on google, and in the source I don't + know where to start debugging. The strings are added properly afaict. Ah... now I remember (I think). You can't set the height of the edit part of a combobox. THe height is the editpart inclusive the dropdown. So if you make the height larger, you'll get a larger dropdown.

Thanks, this set me on the right track.

Micha.

Reply by email