Jump to content

Sherzod

Moderators
  • Posts

    19739
  • Joined

  • Last visited

  • Days Won

    639

Everything posted by Sherzod

  1. Добрый день, Пожалуйста, можете уточнить вопрос ..?
  2. Can you please specify which edition and build of UniGUI are you using?!
  3. Sherzod

    Screenmask

    Hi Dominique, Can you make a simple testcase if possible?
  4. MainForm -> AlignmentControl = uniAlignmentClient MainForm -> Layout = fit ...
  5. Hi, Can you try this approach? ... UniForm1.WebForm.JSInterface.JSCall('toFront', []);
  6. Hello, Can you please specify which edition and build of UniGUI are you using?! And see this demo: \FMSoft\Framework\uniGUI\Demos\Desktop\Form With Parent 1
  7. Hello, This code should work. Are you sure you are using the right event for this?
  8. Hello, One possible solution UniHTMLMemo1 -> ClientEvents -> ExtEvents -> function beforerender: function beforerender(sender, eOpts) { var me=sender; me.setValue('<font size="4">' + me.getValue() + '</font>'); }
  9. Hi, One possible solution: function afterCreate(sender) { var me=sender.getPicker(); if (me && !Ext.isWindows) { me.getDoneButton().setText("Done!"); me.getCancelButton().setText("Cancel!"); } }
  10. For example: Mobile: https://docs.sencha.com/extjs/6.7.0/modern/Ext.Toast.html Desktop: https://docs.sencha.com/extjs/6.7.0/classic/Ext.window.Toast.html
  11. UniSession.AddJS('Ext.toast({message: "The App will restart now", timeout: 5000});');
  12. Hi, Yes, the webinar will be interesting
  13. procedure TMainForm.UniButton1Click(Sender: TObject); begin //ShowMessage('The App will restart now'); UniSession.AddJS('Ext.toast({html: "The App will restart now", header: false, autoCloseDelay: 5000});'); UniTimer1.Enabled := True; end;
  14. Уже добавлен... 1.90.0 (Equinox) New Feature ... [UNG-2782] - New UniDBPivotGrid component.
  15. Добрый день, Да, Вы платите разницу Это около 60% от цены лицензии
  16. 1. UniTimer1 Enabled = False Interval = 5000 RunOnce = True procedure TMainForm.UniTimer1Timer(Sender: TObject); begin UniApplication.Restart end; 2. Run procedure TMainForm.UniButton1Click(Sender: TObject); begin ShowMessage('The App will restart now'); UniTimer1.Enabled := True; end;
  17. Hello, One quick solution I think 1. Demo example: \FMSoft\Framework\uniGUI\Demos\Desktop\GoogleMaps 2. MainForm -> Script: function gmapPrint() { var content = window.document.getElementById("uni_map_canvas"); // get you map details var newWindow = window.open(); // open a new window newWindow.document.write(content.innerHTML); // write the map into the new window newWindow.print(); // print the new window } 3. Print button: procedure TMainForm.UniButton1Click(Sender: TObject); begin UniButton1.JSInterface.JSCallGlobal('gmapPrint', []); end; https://stackoverflow.com/questions/13050215/google-maps-api-v3-printing-maps
  18. Sherzod

    form icon

    function window.beforeInit(sender, config) { config.iconCls=""; }
  19. Can you please adjust your forum email address?
  20. Здравствуйте, К примеру: \FMSoft\Framework\uniGUI\Demos\Desktop\URLParameters
  21. Try this 1. Uses list: uses uniGUIVars , MainModule , uniGUIApplication , System.IOUtils , System.StrUtils , ServerModule , ExtPascalUtils //<----------- ; 2. ... ACmd := '.execCmd(' + '''' + 'InsertHTML' + '''' + ' , ' + StrToJS(AHtml) + ')'; //<----------- UniSession.AddJS(UniHTMLMemo1.JSName + ACmd); end;
×
×
  • Create New...