This event is generated before a file has started to load.
[C++Builder] imagekitcontrolnameStartLoad(TOobject
Sender, const UnicodeString FileName)
[Delphi] imagekitcontrolnameStartLoad(Sender:
TObject; const FileName: string)
Parameters
Name | Explanation |
---|---|
FileName | The file name |
Explanation
The StartLoad event is generated before a file has started to load, 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.