RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLocateFileService.OnFindStream Event

Occurs when the WebSnap application tries to locate a file.

Pascal
property OnFindStream: TLocateFileServiceFindStreamEvent;
C++
__property TLocateFileServiceFindStreamEvent OnFindStream;

Write an OnFindStream event handler to supply the WebSnap application with the contents of a file given its name. This event is particularly useful for applications that use "logical" files that do not exist physically on disk. When the WebSnap application tries to locate a file, the locate file service generates this event, along with an OnFindTemplateFile. One of these event handlers must be provided in order for the application to use the requested file. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!