Vcl.Imaging.GIFImg.TGIFImage.Warning

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Warning(Sender: TObject; Severity: TGIFSeverity; const Msg: string); virtual;

C++

virtual void __fastcall Warning(System::TObject* Sender, TGIFSeverity Severity, const System::UnicodeString Msg);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFImage

Description

Triggers an OnWarning event with the given parameters.

Call Warning to trigger an OnWarning event with the given parameters.

The Severity parameter specifies the severity of the warning and can have one of the values listed in the following table.


Value Meaning

gsInfo

The warning is only meant to inform. No exception is trigerred.

gsWarning

The warning is related to a small error. No exception is triggered.

gsError

The warning is related to a severe error. An exception is triggered through the GIFException class.



The Msg parameter specifies the message to display when the warning event is triggered.

See Also