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

# TComponent.ValidateInsert

Called when an insert must be validated.

## Declaration

`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

TComponent.Insert