Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Autosizing Listview Columns

$
0
0

Hello, I am making a listview in my application, to act as a list, the code I am using to create the listview is such:

Global $convolist = GUICtrlCreatelistview("0|0|1|1|2|2|3|3|4|4|5|5|6|6|7|7|8|8|9|9",230,60,633,75,16396,524801)

Each column name is hidden, and each column will have first a set of data, and then an [x] in the next over like Document1|[x]|Document2|[x], I am sure it will not be hard for me to detect when and which X is clicked, but I am having another problem.

 

It seems that there is no property to resize the listview as text items are added, and I could not find a function to resize a specific cell in the listview, is there a way that I can resize the cells to the width of the text that they are going to contain?

 

Thanks for your time looking at my help request!


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>