[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TComponent.SetAncestor

Sets the csAncestor state of the component.

Declaration

Source position: classesh.inc line 1613

protected procedure TComponent.SetAncestor(

  Value: Boolean

);

Description

SetAncestor includes or excludes the csAncestor flag in the ComponentState set property, depending on the boolean Value. The flag is set recursively for all owned components as well.

This is normally only done during the streaming system, and should not be called directly by an application programmer.

See also

ComponentState

  

Current component's state.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.