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 

Resizing multiple controls with %pv

 
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: 165
Location: Darkest Devon

PostPosted: Tue Jun 13, 2006 4:16 am    Post subject: Resizing multiple controls with %pv Reply with quote

Is it possible to resize several controls automatically using %pv. I have a resizeable window containing two edit boxes - one is a multi-line edit occupying all of the window, except for a single-line at the bottom. I can get the main edit to resize with the window by preceding it with a %pv, however the edit at the bottom does not resize - I'd like it to have the same width as the upper edit, but just be 1 line high.

I guess I could do this by handling the window resize message and manually resizing the lower control ? Any suggestions ?

Thanks
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Tue Jun 13, 2006 6:10 am    Post subject: Resizing multiple controls with %pv Reply with quote

Alan

Have you considered using %st between %ob[status] and %cb?
Back to top
View user's profile Send private message AIM Address
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