Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread DEFINE symbol remains effective when removed
Mon, Jan 25 2016 6:20 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< probably it was my wrong expectations. in delphi you have an ide compiler-symbol - that's what i thought 'DESIGN' would be >>

Yes, the DESIGN define is only for the IDE's design-time environment.  There's a separate design-time execution engine that executes the component library code.

I can see about adding a define for "am I running in the IDE".  It's a little tricky with a web application, but I'm pretty sure that it can be done.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Jan 26 2016 1:25 AMPermanent Link

Michael Dreher

Tim Young [Elevate Software] wrote:

  // Yes, the DESIGN define is only for the IDE's design-time environment.  There's a separate
  // design-time execution engine that executes the component library code.

I'am glad this was clarified, because the help relate the DESIGN symbol to a "run-time" property:

   //  The following is code from the standard component library that tests for the
   //  special DESIGN symbol to determine whether to use the WebDesign (IDE run-time)       <--- here
   // or the WebDOM (browser run-time) unit:
   //
   // {$IFDEF DESIGN}
   // uses WebDesign, WebCore;
   // {$ELSE}
   // uses WebDOM, WebCore;
   // {$ENDIF}

Perhaps the term "IDE design-time"would be more understandable.

Michael Dreher
Previous PagePage 2 of 2
Jump to Page:  1 2
Image