RAD Studio VCL Reference
TComponent.SetDesignInstance Method

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

procedure SetDesignInstance(Value: Boolean);
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!