Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/11/20 in all areas

  1. Hi everyone, In response to a request from a member I have put together a simple little project to help him/her get going with using Bootstrap with uniGui. I am re-posting it here with the hope that it might help others who are interested in the topic and don't know how to get going. I have called the project uniGui-Bootstrap Starter Project and provided a link below. It addresses issues like: - What you need to use Bootstrap - How to populate a Bootstrap page with uniGui data (e.g. table records). - How to handle Bootstrap page mouse-clicks. The project uses only one uniGui component, the uniURLFrame. Everything else is done in HTML + jQuery + CSS. I have inserted a bit of in-line documentation in main.pas and in both the HTML and Javascript files to help web-application newbies. I put this together in a very short time so apologize for any bugs or things I have overlooked. I personally think a lot of magic is possible with uniGui + Bootstrap, e.g. it is so simple to build applications that would work equally well on any device (with some caveats). I would welcome some feedback, e.g. how many members think we should have a new Browse Section call Bootstrap? Enjoy. Bootstrap-uniGui StarterProject.zip
    1 point
  2. Hi, Maybe it will help someone someday: I used EurekaLog to make investigation and there was not problem of MyDAC but another 3rd part library EASendMail. Mentioned in message server means, as I understand, OLE Server not DB server. Another thing is that the library looks non thread safe and I'm still trying to solve the problem BR
    1 point
  3. WOW ... !!!!!!! thank you VERY VERY MUCH !!! nice greetings erich
    1 point
  4. Hi, JSCall('execCmd', ['bold']); JSCall('execCmd', ['italic']); JSCall('execCmd', ['FontSize', 5]); // 0-7 1. htmlMemo... -> UniEvents function beforeInit(sender, config) { this.setColor = function(color) { this.execCmd('forecolor', Ext.isWebKit || Ext.isIE ? '#'+color : color); this.deferFocus(); }; this.setBGColor = function(color) { if (Ext.isGecko) { this.execCmd('useCSS', false); this.execCmd('hilitecolor', color); this.execCmd('useCSS', true); this.deferFocus(); } else { this.execCmd(Ext.isOpera ? 'hilitecolor' : 'backcolor', Ext.isWebKit || Ext.isIE ? '#' + color : color); this.deferFocus(); } } } 2. Usage: UniHTMLMemo1.JSInterface.JSCall('setColor', ['FF0000']); UniHTMLMemo1.JSInterface.JSCall('setBGColor', ['FF0000']);
    1 point
  5. I'm trying to install on delphi 10.4, change the uniguiOS.dpk to unigui27, uniGUI27m; but the following error happens when compiling the package.
    1 point
  6. UniSession.AddJS( 'Ext.toast({'+ ' message: "Hai cancellato il tuo sappuntamento.<span onclick=\"alert(''Undo'')\" style=\"color: #81A8E7; font-weight: bold\"> Undo </span>'+ ' <i onclick=\"Ext.toast().hide(); alert(''Close'')\" style=\"padding-top: 0\" class=\"fa fa-times\" aria-hidden=\"true\"></i>",'+ ' timeout: 50000'+ '})' );
    1 point
×
×
  • Create New...