[Lazarus] Switch off curser in TListBox
Andreas Schneider
aksdb at gmx.de
Sun Mar 6 17:12:40 CET 2011
On Sunday, March 6, 2011 11:13 Jürgen Hestermann wrote:
> Is it possible to switch off the visible cursor in a TListBox? I didn't
> find an option for that.
> I wanted the TListBox to act as a log window that shows current (and
> recent) activity.
> But the selection color makes the cursor line quite unreadable and it
> also makes no
> sense to make one line special to the others.
Just switch to OwnerDraw mode and draw the items by yourself. Then you
can just ignore the "Selected" case.
--
Best Regards,
Andreas
More information about the Lazarus
mailing list