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

TComponent.ValidateInsert

Called when an insert must be validated.

Declaration

Source position: classesh.inc line 1626

protected procedure TComponent.ValidateInsert(

  AComponent: TComponent

); dynamic;

Description

ValidateInsert should be implemented by descendent components to see whether the AComponent component may be inserted in the list of owned components.

This procedure does nothing in the TComponent implementation, it should be overridden by descendant components.

See also

Insert

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