Solved

How to center modeless dialog to parent?

Posted on 2004-10-11
2
465 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

789 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