Jump to content
uniGUI Discussion Forums


Popular Content

Showing content with the highest reputation since 07/05/20 in all areas

  1. 3 points
    Hello people... This is the long-awaited and sought-after example of voice recognition. An important warning: IT ONLY WORKS ON CHROME! It's not that I'm a fan of Google or Chrome but technology is only available in this browser. This application is also on sale with more resources and documentation and without any dependence on the HTML home page using only uniGUI resources. Contact me if you are interested via Telegram: https://t.me/fredmontier or Whatsapp + 55-11-98620-7676 However, the source code is here and you can adapt it according to your needs and goals. Totally functional ! Instruction: 1- Open your page in CHROME. Will work in any other browser. 2- Select you language and/or dialect 3- Say whatever you want to say. It will recognize your voice and convert to text. Also, shows how to import the result to uniGUI memo and ALSO how to have live feed of what is being said in uniGUI memo control. Easy-peasy, lemon squeezy ! You can use these phrases to add punctuation to your text: Period Comma Exclamation point Question mark New line New paragraph Notes: Punctuation works in German, English, Spanish, French, Italian, and Russian. In Spanish, punctuation at the beginning of the sentence, like ¡ or ¿, must be typed. unigui.com.br-speechrecognition.rar
  2. 2 points
    Please visit our online docs for a new section which introduces uniGUI for Linux and a tutorial to configure your system to run your first uniGUI Linux application: http://www.unigui.com/doc/online_help/index.html?linux64.htm This is the first version of this document and I'm aware there are still lots to add and a lot of room for improvements. Thanks!
  3. 2 points
    1. UniPDFFrame1.ClientEvents.UniEvents -> function afterCreate(sender) { sender.disableKeysPrintSave = function() { // disable printing sender.iframe.contentWindow.print=Ext.emptyFn; // disable save $(sender.iframe.contentDocument).bind('keydown', function(e) { if (e.ctrlKey && (e.which == 83)) { e.preventDefault(); return false; } }); }; } 2. Usage: procedure TMainForm.UniPDFFrame1FrameLoaded(Sender: TObject); begin UniPDFFrame1.JSInterface.JSCall('disableKeysPrintSave', []); end;
  4. 2 points
    English: This example shows how to copy text using the clipboard but on the client side and not using the application memory area on the server. In other words, it's how you should do the "copy and paste" in uniGUI. Portuguese: Este exemplo mostra como copiar texto usando o clipboard mas no client-side e não usando a área de memória do aplicativo no servidor. Em outras palavras, é como se deve fazer o "copiar e colar" no uniGUI. Thanks to Sherzod Code: http://forums.unigui.com/index.php?/topic/6116-copy-paste-selected-text-in-tunimemo/&tab=comments#comment-31802 Moderator/ Staff: http://forums.unigui.com/index.php?/profile/906-sherzod/ Also, third party code from the web. uniGUI DOES COPY TEXT TO CLIPBOARD.rar
  5. 2 points
    Hello, I'm attaching a simple test case, try... 1. To generate coords, I used an online tool: https://www.image-map.net/ 2. UniServerModule.CustomFiles: files/imageMap.css files/imageMap.js mapImage.rar
  6. 1 point
    Farshad tested and approved, some components do not show the linux platform to add to the project, but realize that add or component with a windows platform and switch to linux, compile and run a custom test application.
  7. 1 point
    Merhaba MainModule her formdan ulaşılabilir olduğu için ortak fonksiyonlarınızı mainmodule üzerine koymanız doğru bir düşüncedir.
  8. 1 point
    Здравствуйте, Да, это другой gridPanel класс. Хотя это давний пост, но можете попробовать проанализировать и реализовать...:
  9. 1 point
    Thank you very much Farshad, congratulations and success to Unigui.
  10. 1 point
    If you have a login form: Handled := True - cancels login form Handled := False - shows login form
  11. 1 point
    Hello, I will try to analyze for print too. But keep in mind, in any case, you cannot be sure that the user has printed the page, because he can open the print dialog and print, and also cancel printing...
  12. 1 point
    Greetings, I updated to the latest version and the bug no longer exists. thankful!
  13. 1 point
    Thanks Farshad! Now finally we can grow up our applications.
  14. 1 point
    Hello Rafael, Is not a good idea use a function for that purpose (using a anonymous procedure inside). Maybe you can try this alternative method: procedure TDmPrincipal.AskIntervaloData(pQtdeDias: Integer); var V: TIntervaloData; begin if pQtdeDias > 0 then begin V.dtIni := date - pQtdeDias; V.dtFin := date; V.pExtenso := 'De: ' + FormatDateTime('dd/mm/yyyy', pResult.dtIni) + ' a ' + FormatDateTime('dd/mm/yyyy', pResult.dtFin); RetornaIntervaloData(V); end else begin FrmIntervaloData.ShowModal( procedure(Sender: TComponent; Result: Integer) begin V.dtIni := FrmIntervaloData.dtInicial.DateTime; V.dtIni := FrmIntervaloData.dtInicial.DateTime; V.pExtenso := 'De: ' + FormatDateTime('dd/mm/yyyy', V.dtIni) + ' a ' + FormatDateTime('dd/mm/yyyy', V.dtFin); RetornaIntervaloData(V); end); end; end; procedure TDmPrincipal.RetornaIntervaloData(Value: TIntervaloData); begin ShowMessage(Value.pExtenso); ... end;
  15. 1 point
  16. 1 point
    Hello Nadya, Can you try this approach?: ... if ID > 0 then begin grdStructure.JSInterface.JSCall('getSelectionModel().deselectAll', []); if cdsStructure.Locate('ID', ID, []) then begin grdStructure.JSInterface.JSCode(#1'.loadlistener=()=> {'#1'._locate('+ ID.ToString +'); '#1'.store.removeListener("load", '#1'.loadlistener)};'#1'.store.addListener("load", '#1'.loadlistener);'); //grdStructure.JSInterface.JSCallDefer('_locate', [ID], 500); //grdStructure.JSInterface.JSCall('expandSelectedNode', []); //grdStructure.JSInterface.JSCode('Ext.defer(function(){'#1'.ensureVisible('#1'.getSelection()[0])}, 200);'); end; end else ...
  17. 1 point
  18. 1 point
  19. 1 point
    Hi Sherzod, It works, thank you for your kind assistance!
  20. 1 point
    One possible solution: procedure TMainForm.UniPDFFrame1FrameLoaded(Sender: TObject); begin // Disable printing UniPDFFrame1.JSInterface.JSCode(#1'.iframe.contentWindow.print=Ext.emptyFn;'); end;
  21. 1 point
    It is just a simple example using uniURLFrame but with a nice carousel menu. Where in JavaScript says "Place your ajaxRequest..." you should provide your callback code to trigger the menu. You can change the CSS to remove de number. It is just for reference. www.uniguiexpress.com-CarouselDemo.rar
  22. 1 point
    Thank you for Linux support and documentation. Why don't you just add CDN support to new property like FrameworkFilesRoot="http://cdn.example.com/unigui"? These framework files are all static and does not have to be served by uniGUI.
  23. 1 point
    Hello, In case anyone is interested to send mails with gmail, Mr. Geoffrey Smith has posted to GitHub this utility: https://github.com/geoffsmith82/GmailAuthSMTP From Post: https://en.delphipraxis.net/topic/1949-sending-email-via-gmail-using-oauth-20-via-indy/?tab=comments#comment-24856
  24. 1 point
    Hello, Try: <div id="anim" style="position:fixed"><span class="tooltip" data-tooltip="username must consist of 29 symbols."><i class="far fa-calendar-plus fa-2x"></i></span></div>
  25. 1 point
    Please change .btAzul to .btAzul .x-inner-el in CustomCss