Solved

tracing the ide

Posted on 1997-06-10
2
165 Views
Last Modified: 2010-04-06
Is there a possible way  to detect, in the program when it is running from
whitin the ide or not.
please mail me
datac95@innet.be
G.Casteleyn
Belgium
0
Comment
Question by:gca
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Expert Comment

by:sperling
ID: 1336913
Try looking around <A HREF="http://SunSite.Informatik.RWTH-Aachen.DE/delphi/"> DSP</A>, would be rather strange if there didn't exist a good component/unit for this already.

Regards,

Erik.
0
 

Accepted Solution

by:
brittain earned 100 total points
ID: 1336914
I believe you can check a component's ComponentState property looking for the csDesigning flag.  For the docs:

csDesigning      Design mode, meaning it is in a form being manipulated by a form designer.

Further, this property exists on the Application object which is globally available and may give you what you need.

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

724 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