G
Guest
How can I determine the the size of the column so that I could see all the
data in the listview?
I tried to use:
ListView1.Columns(i).Width = -1
And it works for the data, but if the data smaller then the column caption
then I can't see the whole caption.
How can I calculate the size (in pixels or whatever the .Width property
uses) based on a text used in the data and in the caption?
data in the listview?
I tried to use:
ListView1.Columns(i).Width = -1
And it works for the data, but if the data smaller then the column caption
then I can't see the whole caption.
How can I calculate the size (in pixels or whatever the .Width property
uses) based on a text used in the data and in the caption?