Solved

How to center modeless dialog to parent?

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA saving file message display 5 63
Saving history changes to sub form 4 42
Determine Range to Select 5 48
Spell Check in VB6 13 112
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

785 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