• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 178
  • Last Modified:

tracing the ide

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
gca
Asked:
gca
1 Solution
 
sperlingCommented:
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
 
brittainCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now