BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Panel docking problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Jermey
Guest





PostPosted: Wed Aug 18, 2004 4:31 pm    Post subject: Panel docking problem Reply with quote



Hi,
I have a MDIApplication. Each MDIChild has 3 dockable panels.The
problem is when I opened 2 MDIchild windows, I can dock a panel from one
MDIChild windows to the other. That is not what we want.
So I added a OnGetsiteInfo to tell me if the panel(dock client) belongs
to the MDIchild or not. Then I will set the CanDock to true or false.
It works ok. The MDIchild will only accept it's own panel.
The only problem is I need to undock the panel back to it is original
was if CanCock is true. How can I do that? Or How do I stop a floating
panel going outside of the MDIChild?
Thank you
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
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, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.