Vcl.WinXCtrls.TRelativePanelControlItem.CheckControl
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 |
---|---|---|
Control is not a sibling within RelativePanel |
| |
Control cannot be positioned relative to itself |
|