Silverfrost Forums

Welcome to our forums

%lv report view column sizing with %sz window sizing

23 Nov 2005 6:33 #458

I have a report style list view in a resizeable dialog. I am saving the list view column widths and dialog size in the registry and restoring them next time the dialog is shown. It mostly runs happily except that the far-right column in the list is always resized to the full width of the view, even if its width is explicity set in the %lv header string. Since the %sz sizing seems to occur after the window has been created, the list ends up with the final column sized to the default dialog size, rather than my the resized one but only if the resized dialog is thinner than the default - if its wider then the persistent width is okay. So, is there any way of getting around this by preventing the last column in the list view from being automatically adjusted ?

Cheers, Alan

23 Nov 2005 11:40 #462

Alan

In both of your %lv problems it would be a great help if you could post a short sample program that illustrates the issue.

Please login to reply.