Solved

opendialog opens behind application

Posted on 2006-06-28
6
393 Views
Last Modified: 2010-04-05
I have an application which has a VERY frustrating problem.

I have an opendialog dialog which opens behind the application, effectively locking the app.

The dialog is a standard delphi one, dropped on the form as per usual.

Am I missing the obvious here?

Tony Hunt
0
Comment
Question by:TonyDelphiHunt
6 Comments
 
LVL 10

Expert Comment

by:atul_parmar
ID: 16999220
Your app might have a modal form open when you open the dialog.
0
 

Accepted Solution

by:
AshusCZ earned 125 total points
ID: 17000510
I assume you didn't set the FormType to StayOnTop.. ?
0
 

Author Comment

by:TonyDelphiHunt
ID: 17007657
Thanks for both those comments.

They both sound a possibility, I don't THINK either apply but I'll have a good look on Friday when we're next working on that project.


0
 
LVL 1

Expert Comment

by:ttd
ID: 17021614
I faced this kind of problem many times, and I belive there is nothing to do with Delphi code. It might be a problem with timing and/or focus handling of the OS. You might live with it. :)

Try Alt-Tab to switch to it, or if it is open behind an always-on-top window, try this sequence: Alt-Space, Enter, press and hold an arrow key until you see it.

The Alt-Space activates the system menu of the dialog.
The Enter will select the first menu item which is usually "Move".
The arrow key will move the dialog from behind the app's main window.
0
 

Author Comment

by:TonyDelphiHunt
ID: 18261034
OOPS, Sorry about that, I was SURE I'd accepted that answer..................
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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