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 

Positioning of child forms

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
J. B. Ferguson
Guest





PostPosted: Sat Feb 04, 2006 9:07 pm    Post subject: Positioning of child forms Reply with quote



Using D7...

I'd like to be able to position a child form on a Main form in a
specific location, no matter where the main form is located on the
desktop. My intent is to use an Outlook Bar type control on the left
and have the newly created/opened forms always be positioned in the
space to the right of the Outlook bar and under the Menu control.

I don't want to use a Page Control and place the edit control on it
because ultimately there will be many controls and it would use a lot
of resources to have them all populated at one time.

Is there a way to accomplish this so the secondary form is always
"anchored" in the region I want, no matter where the main form is
repositioned on the desktop?

BTW, this will be a SDI application...MDI is not an option.

Thanks in advance...
--
Regards,
Jan Ferguson
Back to top
Wayne Niddery [TeamB]
Guest





PostPosted: Sun Feb 05, 2006 1:00 am    Post subject: Re: Positioning of child forms Reply with quote



J. B. Ferguson wrote:
Quote:

Is there a way to accomplish this so the secondary form is always
"anchored" in the region I want, no matter where the main form is
repositioned on the desktop?

Just set the left and top properties in the form's OnCreate event.

--
Wayne Niddery - Logic Fundamentals, Inc. (www.logicfundamentals.com)
RADBooks: http://www.logicfundamentals.com/RADBooks.html
"Nurture your mind with great thoughts. To believe in the heroic makes
heroes." - Benjamin Disraeli
Back to top
J. B. Ferguson
Guest





PostPosted: Sun Feb 05, 2006 3:00 am    Post subject: Re: Positioning of child forms Reply with quote



Thanks Wayne...

--
Regards,
Jan Ferguson


Wayne Niddery [TeamB] wrote:

Quote:
J. B. Ferguson wrote:

Is there a way to accomplish this so the secondary form is always
"anchored" in the region I want, no matter where the main form is
repositioned on the desktop?

Just set the left and top properties in the form's OnCreate event.

Wayne
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) 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.