I try to have a similar layout during editing as well debugging. When running the program my structure and object inspector disappear. I did create my own desktop speedsetting, set the debug desktop to it as well, but as soon as the program runs structure and obejct inspector disappear. How can I prevent that?
A question related to this: the edit menu changes as well. A right click on a procedure name results in a popup menu with the first item being “find declaration”. When debugging the first item is “close page”. I find the find declaration item a fast way to find some code. Apart from that it is frustrating to lose one’s code because you click “no” on the question to save the information (I know, it’s my fault but menu’s shouldn’t change in my opinion).
Thanks,
Arnold
What version of Delphi? Dialogs and menus change between versions (and even between SKUs of the same version).
For the first, open
Tools->Options->Environment Optionsand uncheckHide designers on runin theRunninggroup box (D2010, XE, and XE2), orTools->Options->Environment Optionsand uncheckingHide designers on runin theCompiling and Runninggroup box (D2007).For the second: The right-click menu is called a
context menu, meaning it displays what is appropriate in the context of when it’s being shown. It’s entirely appropriate for it to change depending on when and how you’re using it; that’s the way it’s supposed to work.Right-clicking on a
.zipfile in Windows Explorer is different than right-clicking on a Word.docfile, because they have different options based on context – a zip file has an ‘Extract to…’ option that the Word document doesn’t have, because ‘extracting’ a Word document doesn’t apply. Same applies to right-clicking a.exefile, which has theRun as Administratoroption (Win7), as opposed to right-clicking a.pasfile, which doesn’t offer that option.