标签:src rac copy ring adb ext let complete object
unihtmlmemo使用
procedure TMainForm.UniButton1Click(Sender: TObject); begin UniMemo1.Text := UniHTMLMemo1.Text; end; procedure TMainForm.UniFileUploadButton1Completed(Sender: TObject; AStream: TFileStream); begin var filename: string:=‘files/yn‘+ formatdatetime(‘yyyymmddhhnnsszzz‘, Now) + ExtractFileExt(UniFileUploadButton1.FileName); CopyFile(PChar(AStream.FileName), PChar(filename), False); UniHTMLMemo1.Lines.Add(‘<img src="‘+ filename +‘" alt="‘ + ExtractFileName(UniFileUploadButton1.FileName) + ‘" />‘); end;
标签:src rac copy ring adb ext let complete object
原文地址:https://www.cnblogs.com/hnxxcxg/p/12723879.html