Hi All, environment 4D v15.6
I have a form that displays pdf document in a web area on windows. This part works as it should. What is weird is the file once displayed is locked. Is there any trick to get it to display in read only so I can not delete the file. The following is the code: C_TEXT($Deleted_txt) $Deleted_txt:="File named "+RatingRPTBDEPTFolder_txt+MatchedDocuments_atxt{MatchedDocuments_atxt}+" will be deleted" C_TEXT($file_txt) Case of : (Folder separator=":") WA SET PAGE CONTENT(*;"ExistingRatingReport_MAC";"<html><body><h1>"+$Deleted_txt+"</h1></body></html>";"file:///") Else WA SET PAGE CONTENT(*;"ExistingRatingReport_WIN";"<html><body><h1>"+$Deleted_txt+"</h1></body></html>";"file:///") End case DELETE DOCUMENT(RatingRPTBDEPTFolder_txt+MatchedDocuments_atxt{MatchedDocuments_atxt}) Thanks and regards Chuck ------------------------------------------------------------------------------------------------ Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmiller<AT SIGN>informed-solutions.com Brookline, MA 02446 USA Registered 4D Developer Providers of 4D and Sybase connectivity http://www.informed-solutions.com ------------------------------------------------------------------------------------------------ This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************