![]() |
ComboBox-Style = csDropDownList: Rect des Items entfernen???
Ich habe ein ComboBox mit der Eigenschaft Style := csDropDownList und möchte den Rand des selektierten Items entfernen. OnDrawItem, wo man sonnst so etwas macht, tritt nur ein, tritt bei dieser Style nicht ein. Wie mache ich das denn?
|
Re: ComboBox-Style = csDropDownList: Rect des Items entferne
Hi,
du müsstest den Style auf csOwnerDrawFixed oder auf csOwnerDrawVariable umstellen. Bei csOwnerDrawFixed tritt das Ereignis OnDrawItem auf und bei csOwnerDrawVariable zusätzlich noch das Ereignis OnMeasureItem. Gruss BlackDragon |
Re: ComboBox-Style = csDropDownList: Rect des Items entferne
Danke für schnelle Antwort!
Zitat:
|
Re: ComboBox-Style = csDropDownList: Rect des Items entferne
Hallo,
Zitat:
Bei "csOwnerDrawFixed" oder "csOwnerDrawVariable" kannst du das Rect wegprogrammieren. Anderweitig denke ich nicht das es geht. Für die Textanzeige musst du dich aber selbst kümmern. |
Re: ComboBox-Style = csDropDownList: Rect des Items entferne
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:29 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz