[EMAIL PROTECTED] wrote:
I want to check in my application if the IDE is running or not. The reason
for doing that is to prevent unnescesary waiting while debugging.
For this reason I thought of using:
if Application.ComponentState = [csDesigning]
But it does not work obviously. Any thoughts?
this will only work if csDesigning is the only flag in
Application.ComponentState. (or maybe not at all)
Instead try:
if csDesigning in Application.ComponentState then ...
or
if Application,ComponentState and csDesigning > 0 then ...
HTH
Andrew
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives