![]() |
TIWDBImagem not reload de image - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: TIWDBImagem not reload de image (/thread-577.html) |
TIWDBImagem not reload de image - ronaldobim - 08-13-2018 Hi, after uploading an image using TIWFileUploader, I apply the image change on a ClientDataSet, however the TIWDBDImage does not change at run time. How can I solve this? Follow my code. procedure TFrmConfiguracoes.IWFILEUPLOADERAsyncUploadCompleted(Sender: TObject; var DestPath, FileName: string; var SaveFile, Overwrite: Boolean); begin inherited; FMsLogo.Clear; IWFILEUPLOADER.SaveToStream(FileName, FMsLogo); cdsLogo.Edit; cdsLogoLOGO.LoadFromStream(FMsLogo); cdsLogo.Post; SaveFile := False; end; RE: TIWDBImagem not reload de image - ronaldobim - 08-14-2018 Hello, I was able to solve by moving the code for the OnSucess event |