THtmlViewer, TFrameViewer components
property CurrentFile: String;
Read only and run time only. The CurrentFile property returns the full path and filename of the file currently loaded. If no file is loaded or the load was accomplished using the LoadFromBuffer method, CurrentFile will be an empty string.