Centering a dialog

Hi,

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

Thanks.

Bob
ba272Asked:
Who is Participating?
 
cyberdevil67Connect With a Mentor Commented:
Hi ba272,

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

Cheers!
0
 
melodiesoflifeConnect With a Mentor Commented:
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
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.