Jump to content
uniGUI Discussion Forums


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

  • Days Won


delagoutte last won the day on November 23 2018

delagoutte had the most liked content!

Community Reputation

32 Excellent

About delagoutte

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  • Location
    France - Pays Basque

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. delagoutte

    Print UniHTMLFrame-Content?

    i have a new method if you want : add uses ExtPascalUtils; Add a TuniHtmlMemo (MemoExport) on your form and set "top" to -1000 to hide it (don't use visible property) on ClientEvent.Extevents add this code in "push" : function push(sender, html, eOpts) { if ((html.trim() != "")&&(html.trim() != "​")){ var browserName = navigator.userAgent.toLowerCase(); if ( browserName.indexOf("msie") != -1) { sender.iframeEl.dom.contentWindow.focus(); sender.iframeEl.dom.contentWindow.print(); } else { if(browserName.indexOf("trident") != -1) { sender.iframeEl.dom.contentWindow.focus(); sender.iframeEl.dom.contentWindow.document.execCommand('print', false, null); } else { sender.iframeEl.dom.contentWindow.focus(); sender.iframeEl.dom.contentWindow.print(); }; }; } } Now all is ready. for printing html do this : procedure TMainForm.PrintText(Sender: TObject; aValue : string); begin UniSession.AddJS('if (!'+MemoExport.JSName+'.initialized){'+MemoExport.JSName+'.initialized=true;};');// i must add this for chrome at some users. sometimes the component is not initialized UniSession.AddJS(MemoExport.JSName+'.textareaEl.dom.value='+ StrToJS(aValue)+';'+MemoExport.JSName+'.pushValue();') end; .. procedure TMainForm.BtnPrintSelClick(Sender: TObject); begin PrintText(Sender,GetExportHtml); end;
  2. delagoutte

    Help: video not loop webOS!

    Are you shure that is an unigui problem ? Are you sure that the "loop " tag is implemented on the webos webbrowser ? if you do a simple html page with your code : the loop is ok or not ?
  3. delagoutte

    api rest in an unigui project

    mhmda : do you use your API as data provider for your unigui app or do you use firedac component with direct acces to db?
  4. delagoutte

    individual Columns in uniDBGrid

    do you test it with agris with many columns >50. If yes, have you got any problem with performance or not ?
  5. i don't think there is any problem with this.
  6. delagoutte

    uniGUI with SAML 2.0 single sign-on

    thanks for your sharing
  7. try this : replace ' sort: function() {'+#13#10+ ... ' if (this.el.hasCls(''x-column-header-sort-DESC'')) {'+#13#10+ by ' sort: function(a) {'+#13#10+ ... ' if (a==null && this.el.hasCls(''x-column-header-sort-DESC'')) {'+#13#10+
  8. delagoutte

    uniGUI with SAML 2.0 single sign-on

    nobody ? a client ask me the same thing
  9. No error in console ? have you got a column with checkbox for selection ? if not, try adding, YourGrid.options.dgcheckselect : true; Your column have sortable : true ? for your question about sender.multiSortLimit=10;' -> you couldn't have more than 10 column sorted see doc sencha
  10. i must do a little cleaning but i think it only remains useful code GridColumnSortWithCancel.zip
  11. now, i have a solution. i'll try to do a small sample project
  12. no, i think he want a column sort with 3 states for exemple : first click on column header-> ASC Sort second Click on column header -> DESC sort third Click on oclumn header -> NO sort 4th click on column header->ASC SORT . ......
  13. delagoutte

    Emergency assistance

    have you try with https://***.***.***/myapp.dll/m ? maybe wechat use https and a redirect to a http link is restricted in many cases ?
  14. delagoutte

    How can i produce my own theme ?

    anybody could help, farshad ? other ? I have produced a theme with sencha themer based on triton. where should I put the files produced by themer ? unipackage-6.5.3 ? other directory ? We must create other files ? what should I do for my theme to appear in the list of themes available in unigui ? it's been months that I ask on different post without ever having a complete answer with good practices. Would it finally be possible to have one?