| View previous topic :: View next topic |
| Author |
Message |
J. B. Ferguson Guest
|
Posted: Sat Feb 04, 2006 9:07 pm Post subject: Positioning of child forms |
|
|
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
|
Posted: Sun Feb 05, 2006 1:00 am Post subject: Re: Positioning of child forms |
|
|
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
|
Posted: Sun Feb 05, 2006 3:00 am Post subject: Re: Positioning of child forms |
|
|
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 |
|
 |
|