×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Dialog Box Questions

Dialog Box Questions

Dialog Box Questions

(OP)
Is it possible to prevent a dialog box from closing upon pushing a button.  I know I can have a dialog function use a case 2 (button value changed) to determine the action to take.  Is it possible to tell it not to close the dialog though?

I know I can loop the dialog until they cancel, but is it possible to have the new dialog box open in the same location as it was closed.

RE: Dialog Box Questions

I don't think it's possible to not close the box. If you're interested in real functionality you should move to VBA as it will give you many more options.

I would think you could store the top and left of the box in variables upon close and then use them in the dialog box to re-open it in the same location.

calculus

RE: Dialog Box Questions

(OP)
Any idea where I how to determine the top and left values when the box is closed?

RE: Dialog Box Questions

No, but my guess would be dlg.top and dlg.left. The return on this will be small for a large amount of work.

Good luck,

calculus

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close