Windows 11 - XOJO 2021r1.1
I know it is possible to make a ListBox column width changeable by the user.
But can it easily made changeable without changing the columns to the right of the changed column ?
Regards
Etienne
Windows 11 - XOJO 2021r1.1
I know it is possible to make a ListBox column width changeable by the user.
But can it easily made changeable without changing the columns to the right of the changed column ?
Regards
Etienne
For all the columns you do not want to be resizable, use
mydesktoplistbox.ColumnAttributesAt(column).UserResizable = false
If you read the documentation DesktopListBox ColumnWidths you wil discover more that what you ask:
if you set a Columh width with a fixed value, resize is different than if you have only % or * as Colum Widths.
Check with a simple example to see if there is a mode you like best than what you have.
Sorry to bot be able to make a better describtion of the differences.
In one case, only the Column you are resizing change its size, the other columns gors to the right as a block to let free space.
In the other case, you are enlarging the column, but its broghter to the right shrink.
Do you understand the difference ?
Thank you both for the replies.
I will check and try it.
Regards