It would be easy when it can, so you create the browse, execute the program, change the width and see the new sizes to change the source.
You know oBrw:nWidths gives an array of column widths.
If you want to quickly prepare code to copy and paste into your application, you can do something like:
- Code: Select all Expand view
oBrw:bRClicked := { || MEMOEDIT( "COLSIZES " + FW_ArrayAsList( oBrw:nWidths ) ) }
When you right click on the browse, you will see
- Code: Select all Expand view
COLSIZES 166,166,246,246,61,86,86,79,46,94,566
in a memoedit, which you can copy and paste in your application.
You can have this code in your application only during development and remove later on