FMX.ScrollBox.TScrollContentSize.Create
Delphi
constructor Create(AOwner: TComponent; const AOnChange: TNotifyEvent);
C++
__fastcall TScrollContentSize(System::Classes::TComponent* AOwner, const System::Classes::TNotifyEvent AOnChange);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.ScrollBox.pas FMX.ScrollBox.hpp |
FMX.ScrollBox | TScrollContentSize |
Description
Creates an instance of TScrollContentSize.
Assigns a scroll box as a parent of this TScrollContentSize instance and registers an event handler for the OnChange event.
A call to this constructor may raise the following exception:
Exception | Exception.Message | Scenarios |
---|---|---|
<AOwner> should be an instance of TCustomPresentedScrollBox |
|