Example
Form1.manualDock(mainForm.Panel1, nil, alTop);
Form2.manualDock(mainForm.Panel1, nil, alBottom);
In this example both Form1 and Form2 is sized to half the height of Panel1.
But I want Form1 to be sized to 2/3 the height of Panel1.
Ola Ekelund
I think you have to look at the InfluenceRect of the OnGetSiteInfo event.
This is fired when a control is docked into another control - you can change
the influencerect.
Regards,
Matt P
Domesday Project
(the Book, not the end of the world)
Unfortunatly the OnGetSiteInfo event is not fired when you execute
manualDock.
//Ola Ekelund
SoftConsult SWEDEN