Jump to content

Sherzod

Moderators
  • Posts

    19854
  • Joined

  • Last visited

  • Days Won

    646

Everything posted by Sherzod

  1. 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;
  2. Уже добавлен... 1.90.0 (Equinox) New Feature ... [UNG-2782] - New UniDBPivotGrid component.
  3. Добрый день, Да, Вы платите разницу Это около 60% от цены лицензии
  4. 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;
  5. 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
  6. Sherzod

    form icon

    function window.beforeInit(sender, config) { config.iconCls=""; }
  7. Can you please adjust your forum email address?
  8. Здравствуйте, К примеру: \FMSoft\Framework\uniGUI\Demos\Desktop\URLParameters
  9. 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;
  10. Hello, Can you make a simple testcase for this (maybe with UniHTMLMemo)?!
  11. Hi Dominique, One possible solution (CSS) 1. UniServerModule -> CustomCSS: body:after { content: attr(title) ""; font-family: Times New Roman; font-size: 36px; position: absolute; top: 10px; left: 10px; } 2. LoginForm -> OnCreate event: procedure TUniLoginForm1.UniLoginFormCreate(Sender: TObject); begin UniSession.AddJS('Ext.select("body").elements[0].setAttribute("title", "UniGUI LoginForm")'); end; 3. MainForm -> OnCreate event: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniSession.AddJS('Ext.select("body").elements[0].setAttribute("title", "")'); end;
  12. Здравствуйте, Какую версию и сборку используете?
  13. Hello, Is this acceptable to you? 1. procedure ChBoxsChange(Sender: TObject); procedure TMainForm.ChBoxsChange(Sender: TObject); begin if (Sender as TUniCheckBox).Checked then (Sender as TUniCheckBox).Color := $00F9CD87 else (Sender as TUniCheckBox).Color := clNone end; 2. How to use, for example: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniCheckBox1.OnChange := ChBoxsChange; UniCheckBox2.OnChange := ChBoxsChange; DynamicCheckBox.OnChange := ChBoxsChange; end;
  14. procedure TMainForm.UniPanel1MouseEnter(Sender: TObject); begin UniPanel1.Width := UniPanel1.Width + 50; end; procedure TMainForm.UniPanel1MouseLeave(Sender: TObject); begin UniPanel1.Width := UniPanel1.Width - 50; end; ?
  15. Если Вы имеете в виду на стороне клиента, то это невозможно. За исключением случая если не используется IE с ActiveX...
  16. Здравствуйте, Простите, а что за функция?
  17. The default message that appears in the confirmation box, is different in different browsers. However, the standard message is something like "Are you sure you want to leave this page?". This message cannot be removed. However, you can write a custom message together with the default message. See the first example on this page. Note: This only works in Internet Explorer. https://www.w3schools.com/jsref/event_onbeforeunload.asp
  18. Здравствуйте, MainForm -> OnScreenResize событие
  19. https://www.w3schools.com/jsref/event_onbeforeunload.asp
  20. Sherzod

    BUG ?

    Hello, Can you please make a simple testcase or how can we reproduce this issue?
×
×
  • Create New...