Hi All,

I try to do some customization in TListView.OnCustomDrawItem:

    r := Item.DisplayRect(drBounds);
    TextOut(r.Left, r.Top, 'Hello');  <-- this worked
    TextRect(r, 0, 0, 'Hello');       <-- this does not work

Why?

Another question which I cannot google any answer is, what's the meaning of
TDisplayCode? I don't want its values which is obvious, but the meaning of
each value, e.g. drBounds, drLabels etc. Not documented anywhere...

Thanks,
Shannon
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to