Hello everyone here! I'm going to create web application that should keep records in database as (X)HTML format with pictures. In each record will be HTML text + <img src="some link to the image on the server">
The question is how to organize it, using UNIGUI that seems to be best framework for the Web on the Delphi Language.
In demos I've seen HTMLEditor (http://prime.fmsoft.net/demo/htmled.dll) but it doesn't have function of uploading files (pictures).
I tried to take a look
Hi,
Try:
MainForm.Script add:
Ext.form.field.File.override(
{onFileChange: function() {
this.lastValue = null; // force change event to get fired even if the user selects a file with the same name
Ext.form.field.File.superclass.setValue.call(this, this.fileInputEl.dom.value.replace(/C:\\fakepath\\/g, ''));
}
}
)
Best regards.