• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 326
  • Last Modified:

Centering a dialog

Hi,

How can I easily center a dialog in the center of the display?

Thanks.

Bob
0
ba272
Asked:
ba272
2 Solutions
 
cyberdevil67Commented:
Hi ba272,

  If it is a form you created, you can use the properties startposition.

Cheers!
0
 
melodiesoflifeCommented:
1. In design mode, you can set startposition = CenterScreen
2. In code, use this command:  
     this.CenterToScreen();


0
 
Bob LearnedCommented:
Can I assume that this question is answered, and doesn't need further comment?  It sure looks answered to me.

Bob
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
ba272Author Commented:
TheLearnedOne,

Yes, sorry it too so long.  I have not been getting notified by EE when I have a reply, and didn't know the answers were here until now.

Is there a way for you to look to se if my preferences have somehow been changed?  I certainly do want to get notified ASAP when there's a repy waiting for me.

Thanks,
Bob
0
 
Bob LearnedCommented:
If you are not getting emails, then look in your profile, and make sure that you have a valid email address.

Bob

0
 
ba272Author Commented:
Bob,

I can't find where in "My Account" to see my email address.  Is there another section I should be looking in?


Thanks,
Bob
0
 
ba272Author Commented:
Bob,

Stupid me.  I thought the Edit button would edit the information displayed in My Account only.  Upon pressing it I found how to change my email.


Thanks,
Bob
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now