Jump to content

Semper

Members
  • Posts

    120
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Semper

  1. Tried to change UniMainModule.BrowserOptions at runtime: if chkBrowserOptions.Checked=True then UniMainModule.BrowserOptions:=[] else UniMainModule.BrowserOptions:=[boDisableMouseRightClick]; but this has no effect. So I have a question - Is it possible to change UniMainModule.BrowserOptions in runtime?
  2. Personally, I found a situation with uncertainty licensed UniGUI very frustrating. IMHO it's time to pay the money.
  3. When I say "small developers" it can be for example freelancers. But of course you're right - in this case, $ 200 is not a significant. Personally, I'm willing to pay that price for the convenience of working with UniGUI.
  4. If I may speak frankly it's expensive. After the decision of excluding VCL mode UniGUI will be very similar to Ext.NET. Ext.NET Single Developer Bundle (included Sencha Ext JS Commercial License, 1 Year Premium Support Subscription) and with full source code costs $495. UniGUI is a wonderful tool that very well suited for my tasks. So I made ​​a firm decision under any circumstances, to purchase it. But it seems that for many others (especially small developers that will use UniGUI for web development only) it will be a difficult choice. Regards
  5. It seems that it is impossible. If you set unitoolbutton sender.iconAlign = "right" or "left" in this case, the icon becomes invisible
  6. In this case I use TuniToolbar with TUniBitBtn instead using normal TuniToolbarButtons and set function OnBeforerender(sender) { sender.iconAlign="right"; } Buttons.zip
  7. I answer to myself Caption:='<table><tr><td style="text-align:left"> <p style="font-size:11px"> '+Caption+'</td></tr></table>';
  8. And I forgot one more thing. To prevent movement of the form out of the browser window borders I add in all my forms this code: function window.OnBeforerender(sender) { sender.constrain=true; } In this case, I do not know whether to apply it here.
  9. Nice to hear I forgot in my code one thing. To prevent StartMenuForm resizing is necessary to add in frmStartMenu.ClientEvents.ExtEvents function window.OnBeforerender(sender) { sender.resizable=false; }
  10. How to make button that displays selected color and by click is calling color select dialog window. ColorSelectButton.zip
  11. Hi, Many thanks to perjanbr for his code sharing! I finished just another DesktopSample that based on topicstarter's code. My code is quick and dirty. Only concept. Don't be strict to me Share it in a hope that it is be useful. Regards Desktop2.zip
  12. WindowlessLoginExample.zip
  13. I tried this solution. It works but for large datasets it increases the amount of memory occupied by the program. I'm beginner in Javascript. Maybe there is some way to clear Javascripts?
  14. Sounds good. Any discounts will be? Something like
  15. In UniNumberEdit component Text property not visible in Object Inspector and only may be set in code for example UniNumberEdit1.Text:='0.12'; This is bug or feature?
  16. Semper

    Form Align

    Align := alClient is not Web property. To set Mainform to fullscreen use MainformDisplayMode:=mfPage property in ServerModule.
  17. Move the mouse over text field (text area, combo box, date field), click the cross icon to empty the text field. http://www.eekboom.de/ClearButton.html
  18. If you want TUniEdit that requires a non-empty value: Open UniEdit's ClientEvents and edit ExtEvents property Add the following line in the "OnBeforerender" event: sender.allowBlank=false;
  19. Tip for saving TeeChart for Javascript as Image: 1. Add to example UniHTMLFrame. 2. Edit UniHTMLFrame.HTML property. Insert line: <img id="img"> 3. Add button. OnButtonClick -> UniSession.AddJS('Chart1.toImage("img");'); The resulting image can be saved in any browser.
  20. Want UniSpinEdit's increment a real number? For example increment 0.1 or 0.5? Or may be 2 or 5? Open UniEdit's ClientEvents and edit ExtEvents property Add the following line in the "OnBeforerender" event: sender.step=0.6;
  21. Is it possible to place the caption on the button to the right of the toolbar's image, rather than below it, as it makes the toolbar property is set in ShowCaptions:=True?
  22. Cool! Which UniGUI version are you using? And how did you handle the FormMinimize event?
×
×
  • Create New...