Solved

tracing the ide

Posted on 1997-06-10
2
158 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now