Recent

Author Topic: [SOLVED]TlistView and element size  (Read 1131 times)

superc

  • Sr. Member
  • ****
  • Posts: 251
[SOLVED]TlistView and element size
« on: September 25, 2019, 03:06:29 pm »
Hello,

I'm have a problem with TListview and element resize as in the image: only ART0007 if i click on the element of listview can show the element caption for full lenght;
I would like all the elements to have the whole caption without click over, if possible.

Thanks in advance.


« Last Edit: September 26, 2019, 12:41:18 pm by superc »

jamie

  • Hero Member
  • *****
  • Posts: 7377
Re: TlistView and element size
« Reply #1 on: September 26, 2019, 01:58:16 am »
Maybe you need to consider a different component for the task ?

 A TDrawGrid or Stringgrid maybe better suited ?

 Or you could do a OwnersDraw on the ListView and custom draw the surface..
The only true wisdom is knowing you know nothing

superc

  • Sr. Member
  • ****
  • Posts: 251
Re: TlistView and element size
« Reply #2 on: September 26, 2019, 09:28:35 am »
They are both interesting, the important thing is that I can color the background of the cells I want ...
However, they seem perfect to me for what I need

Thank you very much.

 

TinyPortal © 2005-2018