Datagrid - GetColumnWidthList: What does it really get?

Started by Peter2, January 19, 2018, 01:45:37 AM

Previous topic - Next topic

Peter2

I have a data grid and want to store the "user defined Column width" when a user changed the width with the mouse (double click to fit the width or dragging with left mouse).

I used "GetColumnWidthList", but I always get the origin width (defined in ODCL) and not the current, modified width.

How to get the current width?
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Peter2

Solved:

I have to ask for every column with (dcl-Grid-GetColumnWidth ..


Suggestion:
Maybe this information could be added to Help file.
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10