RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponent.SetDesignInstance Method

Ensures that components inserted at design time have their design-mode flag set.

Pascal
procedure SetDesignInstance(Value: Boolean);
C++
__fastcall SetDesignInstance(Boolean Value);

SetDesignInstance is used internally by the Form designer to identify objects that act as a design surface. Do not call SetDesignInstance directly. 

SetDesignInstance sets the csDesignInstance flag in the ComponentState property if Value is true; otherwise, it removes csDesignInstance. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!