Jump to content

Search the Community

Showing results for tags 'htmlmemo'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 9 results

  1. It is easy to paste images into the HtmlMemo however once inserted there is no way to resize the image, please advise how to apply stretch handles on image when selected with the editor so user can resize - Thanks
  2. Please show me how to Update a HTMLMemo Font List when formatted text is pasted into the memo containing a non listed Font Name ? Thanks
  3. Image Insert (Ctrl+v) Produces <img src="data:image/png;base64,... I Need To Catch The Image Insert And Add An id Tag To The Image Tag <img id="img2" src="data:image/png;base64,... I Need This For Inventory Purposes (later passing and extracting), I need Each Image Tag <img To Have An id Tag. The Only Event Fired Is "change" and all it does is give you the whole HtmlMemo contents, it does not distinguish one Image From Another Image. if EventName = 'change' then begin s:= Params.Values['sender']; // blank s:= Params.Values['newValue']; // new html memo source (cannot tell which is new image) s:= Params.Values['oldValue']; // old html memo source s:= Params.Values['eOpts']; // blank end; Farshad, please add this feature - thanks.
  4. I am trying to get this Print Code to work inside a UniGui HtmlMemo - can anyone please advise why this basic code does not work with UniGui ? HtmlMemo.Lines.Clear; ///////////////////////////////////////////////////////////////////////////////// s:= ' <script> '+ ' function printPage(id) '+ ' { '+ ' var html="<html>"; '+ ' html+= document.getElementById(id).innerHTML; '+ ' html+="</html>"; '+ ' var printWin = window.open('', '', ''left=0, top=0, width=1, height=1, toolbar=0, scrollbars=0, status=0''); '+ ' printWin.document.write(html); '+ ' printWin.document.close(); '+ ' printWin.focus(); '+ ' printWin.print(); '+ ' printWin.close(); '+ ' } '+ ' </script> '+ ' <div id="block"> '; HtmlMemo.Lines.Add(s); ///////////////////////////////////////////////////////////////////////////////// add additional html code here ///////////////////////////////////////////////////////////////////////////////// s:= ' </div> '+ ' <br> '+ ' <input type="button" value="Print" onclick="printPage(''block'');"></input> '; HtmlMemo.Lines.Add(s);
  5. Please show me how I can identify the InLine image that was selected when it was Double Clicked - Thanks. procedure TfMain.HtmlMemoDblClick(Sender: TObject); begin // Get Selected Object From Sender ? end;
  6. Please show me how to insert into HtmlMemo at runtime an InLine Image (data attached). My inline data attached works on any browser HOWEVER causes error in UniGUI, please advise - Thanks. UniSession.AddJS(HtmlMemo.JSName + '.insertAtCursor('+ Chr(39)+inlinedata+Chr(39) +')'); // FAILS UniSession.AddJS(HtmlMemo.JSName + '.insertAtCursor('+ Chr(39)+'<b>HELLO</b>'+Chr(39) +')'); // WORKS html-test.html
  7. How can I get the Plain Text from the HtmlMemo ? MyLines(TStringList) in code at runtime. MyLines.SetStrings(HtmlMemo.Lines); // I want plain text CRLF for each line
  8. Please advise how to add (or insert) button on HtmlMemo ToolBar - Thanks. UniSession.AddJS('fMain.HTMLMemo.toolbar.insert(2, '+ '{ '+ 'xtype: "spacer"'+ '} );'); UniSession.AddJS('fMain.HTMLMemo.toolbar.insert(3, '+ '{ '+ 'xtype: "button", '+ 'text: '+QuotedStr('Today')+', '+ 'id: "syncTodayID", '+ 'listeners: {tap: function(el, v) {ajaxRequest(fMain.form, "_syncToday", [])}}'+ '} );'); Does nothing ?
  9. I am having trouble with HtmlMemo HyperLinks - how does one execute a URL hyperlink within the memo ?
×
×
  • Create New...