Jump to content

Sherzod

Moderators
  • Posts

    19659
  • Joined

  • Last visited

  • Days Won

    634

Everything posted by Sherzod

  1. Hi, You must fill files list (you can add to the UniListBox for example) by using FindFirst and FindNext to make a loop that looks at all the files...
  2. I think you need to analyze examples that start with "\FMSoft\Framework\uniGUI\Demos\Desktop\Clientside Alignment -..."
  3. For what purpose do you want to use OnKeydown event?
  4. Hi, Sorry for the delay Also you can use ClientEvents at the moment
  5. Добрый день, Пожалуйста, можете уточнить вопрос ..?
  6. Can you please specify which edition and build of UniGUI are you using?!
  7. Sherzod

    Screenmask

    Hi Dominique, Can you make a simple testcase if possible?
  8. MainForm -> AlignmentControl = uniAlignmentClient MainForm -> Layout = fit ...
  9. Hi, Can you try this approach? ... UniForm1.WebForm.JSInterface.JSCall('toFront', []);
  10. 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
  11. Hello, This code should work. Are you sure you are using the right event for this?
  12. Hello, One possible solution UniHTMLMemo1 -> ClientEvents -> ExtEvents -> function beforerender: function beforerender(sender, eOpts) { var me=sender; me.setValue('<font size="4">' + me.getValue() + '</font>'); }
  13. Hi, One possible solution: function afterCreate(sender) { var me=sender.getPicker(); if (me && !Ext.isWindows) { me.getDoneButton().setText("Done!"); me.getCancelButton().setText("Cancel!"); } }
  14. 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
  15. UniSession.AddJS('Ext.toast({message: "The App will restart now", timeout: 5000});');
  16. Hi, Yes, the webinar will be interesting
  17. 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;
  18. Уже добавлен... 1.90.0 (Equinox) New Feature ... [UNG-2782] - New UniDBPivotGrid component.
  19. Добрый день, Да, Вы платите разницу Это около 60% от цены лицензии
  20. 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;
  21. 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
×
×
  • Create New...