PDA

View Full Version : Design Time or Run Time



Fernando
12-05-2003, 06:54 PM
Is there a way to discover, when creating visual components, if we are in run-time or design time?

Thank you
Fernando.

Alimonster
12-05-2003, 07:16 PM
if csDesigning in ComponentState then
{ in design time }
else
{ run-time }

Fernando
12-05-2003, 07:44 PM
Thank you!