TComponent::SetDesignInstance - C++ Builder

C++ Builder 参考手册 ➙ TComponent ➙ SetDesignInstance


头文件:#include
命名空间:System::Classes
类:TComponent
访问权限:protected:
函数原型:

void __fastcall SetDesignInstance(bool Value);

System::Classes::TComponent::SetDesignInstance 是 System::Classes::TComponent 的成员函数,清除或设置 ComponentState 属性里面的 csDesignInstance 状态。

参数:

Value:false:清除 csDesignInstance 状态;true:设置 csDesignInstance 状态;

返回值:

无。

  • 清除或设置 ComponentState 属性里面的 csDesignInstance 状态;
  • 子组件不跟着设置或清除状态;
  • 这是 TComponent 内部调用的方法,不需要直接调用。

参考:

  • System::Classes::TComponentState
  • System::Classes::TComponent::ComponentState
  • System::Classes::TComponent::ComponentStyle
  • System::Classes::TComponent::Components
  • System::Classes::TComponent::ComponentCount
  • System::Classes::TComponent
  • System::Classes::TPersistent
  • System::TObject
  • VCL 类继承关系

C++ Builder 参考手册 ➙ TComponent ➙ SetDesignInstance

你可能感兴趣的:(TComponent::SetDesignInstance - C++ Builder)