Vcl.WinXCtrls.TRelativePanelControlItem.CheckControl

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CheckControl(Value: TControl);

C++

void __fastcall CheckControl(Vcl::Controls::TControl* Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.WinXCtrls.pas
Vcl.WinXCtrls.hpp
Vcl.WinXCtrls TRelativePanelControlItem

Description

Validates that the control specified as Value is a sibling of the associated Control.

Exceptions

A call to CheckControl may raise any of the following exceptions:

Exception Exception.Message Scenarios

ERelativePanelException

Control is not a sibling within RelativePanel

  • The parent of the control specified as Value is not the relative panel that is the parent of the Control.

ERelativePanelException

Control cannot be positioned relative to itself

  • You cannot position a control relative to itself.

See Also