FMX.Advertising.TBannerAd.OnWillLoad
Delphi
property OnWillLoad: TNotifyEvent read FOnWillLoad write FOnWillLoad;
C++
__property OnWillLoad;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FMX.Advertising.pas FMX.Advertising.hpp |
FMX.Advertising | TBannerAd |
Description
Occurs when the advertising banner starts an attempt to load. {{#multireplace:FMX.Advertising.TBannerAd.OnWillLoad|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Advertising.TCustomBannerAd.OnWillLoad|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Advertising.TCustomBannerAd.OnWillLoad|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs when the advertising banner starts an attempt to load.
If the banner loads successfully, OnDidLoad is triggered. If it fails to load, OnDidFail is triggered instead.
This event provides the following argument to its event handler:
Senderis the current instance of the advertising banner control.