Solved

How to center modeless dialog to parent?

Posted on 2004-10-11
2
446 Views
Last Modified: 2012-05-05
I'm trying to center a modeless dialog to its parent by setting the StartUpPosition to CenterOwner.  It doesn't appear to work.

How can I center a modeless dialog to its parent?

Thanks.
0
Comment
Question by:halfondj
2 Comments
 
LVL 19

Accepted Solution

by:
Shauli earned 250 total points
ID: 12282086
Try:

FormDialog.Show , Me

when you use the StartUpPosition as CenterOwner

S

0
 

Author Comment

by:halfondj
ID: 12282182
Thanks.  It worked.  I forgot about that.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access query that references subform 5 43
How does CurrentUser work? 10 31
vb6 connector to mongodb 2 46
MsgBox 4 43
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now