View previous topic :: View next topic |
Author |
Message |
acw
Joined: 04 Nov 2005 Posts: 165 Location: Darkest Devon
|
Posted: Tue Jun 13, 2006 4:16 am Post subject: Resizing multiple controls with %pv |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Tue Jun 13, 2006 6:10 am Post subject: Resizing multiple controls with %pv |
|
|
Alan
Have you considered using %st between %ob[status] and %cb? |
|
Back to top |
|
|
|