Autor Beitrag
CodexX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 118

WinXP
Delphi XE
BeitragVerfasst: Mi 21.09.05 03:28 
hi,

wie kann man die höhe einer combobox ändern? wenn ich bei height was anderes als 21 eingebe, springt der wert trotzdem immer auf 21 zurück. ich hätte aber gerne etwa 19. woran liegt das und kann man da was machen?

danke :)
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Mi 21.09.05 07:21 
Hallo,
in der Delphi-Hilfe zu ItemHeight findest Du Informationen.

Wenn Du die Eigenschaft Style der ComboBox auf csOwnerDrawFixed setzt
und bei der Eigenschaft ItemHeight 13 einträgst,
hat die ComboBox eine Höhe von 19.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
CodexX Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 118

WinXP
Delphi XE
BeitragVerfasst: Mi 21.09.05 15:15 
danke. :)