RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TLocateFileService Class

TLocateFileService controls the access of templates and server-side script include files at runtime.

Pascal
TLocateFileService = class(TCustomLocateFileService);
C++
class TLocateFileService : public TCustomLocateFileService;

WebDisp

Add a TLocateFileService component to your WebSnap application when you want greater control over how template and server-side script include files are accessed at runtime. Define event handlers that will be called when the application requires one of these files. Event handlers can specify a different directory location for a file or return a TStream containing the file. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!