Listview Add Column And Move Column
Listview Add Column And Move Column
I couldn't find anything useful in the listview about adding and replacing columns later. Can you help me find some examples?
I want to add columns and move the added column to the beginning.
Thanks.
I want to add columns and move the added column to the beginning.
Thanks.
Re: Listview Add Column And Move Column
One workaround is to create the maximum number of columns, and set some of the widths to zero. I'm not sure about moving them (other than rebuilding).
Re: Listview Add Column And Move Column
There is a complicated queue save restore function but I am reluctant to use it. I will probably find a different solution.
Thanks.
Re: Listview Add Column And Move Column
Thanks just me.
When I add a column to the left, the data I add to the first column always goes to the new column. The newly added column becomes the number 1 column. But if I add a column to the far right and move it, then the column rows won't change. That's why I care about moving columns.
Re: Listview Add Column And Move Column
Do you mean "moving columns by drag&drop in the header control"? In this case, the original column index does not change. That's by design.
Re: Listview Add Column And Move Column
Yes true. I also want to provide this with code. User won't drag and drop. I want to change the column location with the code, but I don't want the index number to change.
It is exactly. I want the index number to remain constant. I want if the index does not change when the column is dragged. But how can I replace the columns with the ahk code?
Re: Listview Add Column And Move Column
Thank you, @just me!
Re: Listview Add Column And Move Column
@mikeyww, you're welcome.
Re: Listview Add Column And Move Column
Thanks @just me. I love using this library in my work. I wanted to find out if there is a method other than a function. But I will continue with this. Thanks for everything.