How to set initial proportions of stacked aligned panels?
- From: tony@xxxxxxxxxxxxxxxxxxx (Tony Mountifield)
- Date: Tue, 22 Nov 2005 10:01:40 +0000 (UTC)
In a resizeable ActiveX form I have a panel which is anchored to the
four sides of the form. Within this panel are three panels separated by
two separators. The separators and the top two panels are aligned alTop,
and the bottom panel is aligned alClient.
At startup time, I want to set the initial proportions of the panel
heights relative to their parent panel, rather than have them come up
with the absolute sizes they had at design time. However, setting the
heights within the OnFormCreate event doesn't seem to have any effect.
Can anyone advise the best way to achieve what I have described?
Thanks in advance
Tony
--
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
.
- Prev by Date: Loaded memory image differs from map file
- Next by Date: Casey Charlton
- Previous by thread: Loaded memory image differs from map file
- Next by thread: Casey Charlton
- Index(es):