Solved

How to center modeless dialog to parent?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

705 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

14 Experts available now in Live!

Get 1:1 Help Now