TComponent::SetSubComponent - C++ Builder

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


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

void __fastcall SetSubComponent(bool IsSubComponent);

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

参数:

IsSubComponent:false:清除 csSubComponent 状态;true:设置 csSubComponent 状态;

返回值:

无。

  • 清除或设置 ComponentState 属性里面的 csSubComponent 状态;
  • 子组件不跟着清除或设置状态;
  • 这是 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 ➙ SetSubComponent

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