Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Manual docking

0 views
Skip to first unread message

Ola Ekelund

unread,
Oct 11, 1999, 3:00:00 AM10/11/99
to
Hi!
I have two dockable window which I want to dock manual with
Form1.manualDock(...). I know that I control the position of the docking
with alTop, alLeft and so on, but can I control the size of the docked
window?

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

Matt P

unread,
Oct 12, 1999, 3:00:00 AM10/12/99
to
Hi Ola,

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)

Ola Ekelund

unread,
Oct 12, 1999, 3:00:00 AM10/12/99
to

Unfortunatly the OnGetSiteInfo event is not fired when you execute
manualDock.


//Ola Ekelund
SoftConsult SWEDEN

0 new messages