This event is generated after a file has loaded.
[C++Builder] imagekitcontrolnameEndLoad(TOobject
Sender, const UnicodeString FileName)
[Delphi] imagekitcontrolnameEndLoad(Sender:
TObject; const FileName: string)
Parameters
Name | Explanation |
---|---|
FileName | The name of the file |
Explanation
The EndLoad event is generated after a file has loaded, i.e. when theFile.FileLoadAsRawData, the LoadFile or the LoadFileMem methods are executed. When the LoadFileMem method is used raw data is loaded so the FileName parameter will be an empty string.
Differences from ImageKit7/8/9/10 ActiveX
In C++Builder, the FileName parameter is changed to the type UnicodeString. In Delphi, the FileName parameter is changed to the type string.