Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

tracing the ide

Posted on 1997-06-10
2
Medium Priority
?
175 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 300 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

636 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