TSRichViewEdit.Destroy

<< Click to display table of contents >>

TSRichViewEdit.Destroy

Disposes of the component.

destructor Destroy; override;

Do not call Destroy directly. Call Free instead. Free verifies that the component is not nil, and only then calls Destroy.

Never explicitly free a component in one of its own event handlers, nor free a component from the event handler of a component that it owns or contains.

Note: A form owns all the controls and non-visual components that are placed on it in design mode. When it is freed, all of these components are automatically freed as well.