forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

%lv report view column sizing with %sz window sizing

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
acw



Joined: 04 Nov 2005
Posts: 163
Location: Darkest Devon

PostPosted: Wed Nov 23, 2005 7:33 am    Post subject: %lv report view column sizing with %sz window sizing Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5904
Location: Salford, UK

PostPosted: Thu Nov 24, 2005 12:40 am    Post subject: %lv report view column sizing with %sz window sizing Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group