Delphi-PRAXiS
Seite 3 von 3     123   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Bestimmte Zeilen einer TListbox färben (https://www.delphipraxis.net/69098-bestimmte-zeilen-einer-tlistbox-faerben.html)

obscureSg 14. Jun 2007 22:07

Re: Bestimmte Zeilen einer TListbox färben
 
Zitat:

Zitat von Klaus01
Zitat:

Zitat von Delphi Hilfe
Description

Use OnDrawItem to write a handler for drawing of the items in list boxes with the Style values lbOwnerDrawFixed, lbOwnerDrawVariable, or lbVirtualOwnerDraw. OnDrawItem occurs when the list box needs to display an item. OnDrawItem occurs only for owner-draw list boxes.

Dann klappt es auch mit dem Nachbarn.

Wenn der Style der Listbox(im Object Inspector) auf lbStandard steht (default) dann wird das Ereignis nicht ausgelöst.

Grüße
Klaus

held! dankeschön und schönen abend noch!


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:29 Uhr.
Seite 3 von 3     123   

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 by Thomas Breitkreuz