OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: BazzaCAD on February 29, 2008, 03:01:23 PM

Title: Grids & Splitters
Post by: BazzaCAD on February 29, 2008, 03:01:23 PM
OK I have a Grid control & a Vert. Splitter next to it. When the splitter is moved the width of the Grid control gets wider.
Now the right side of the grid has a bunch of white space, so the user stretched one of the grid's column header to fix it.
When you close & reopen the form the grid's width & splitter are in the last location, but the grid's headers are back to there default location.
Is this a bug or a new feature request? Should OpenDCL manage the column headers automatically, so they're restored when the form is re-shown?
The only work-around I can think of right now, is to save the column width on form Close then restore them on Initialize...
Any other ideas?

Title: Re: Grids & Splitters
Post by: owenwengerd on February 29, 2008, 03:58:30 PM
This is working as designed, but saving and restoring column widths would be a good feature request.
Title: Re: Grids & Splitters
Post by: Fred Tomke on March 01, 2008, 12:51:45 AM
Hi,

since the form's width and height is saved in the registry I save the column widths of listviews and grids in the registry under my program path, too if I need it. May be this could help.

Fred
Title: Re: Grids & Splitters
Post by: Kerry on March 01, 2008, 05:54:25 AM
I've wondered in passing if the Project_Export and Project_Import methods could be used to serialise the form contents and settings.
..... or if a request needs to be forthcoming for functionality to allow that to happen.