Jump to content

Sherzod

Moderators
  • Posts

    19684
  • Joined

  • Last visited

  • Days Won

    635

Everything posted by Sherzod

  1. Hi, You can use Grid-ActionColumn http://forums.unigui.com/index.php?/topic/9621-unigui-102-beta/page-3&do=findComment&comment=52570 \FMSoft\Framework\uniGUI\Demos\Desktop\Grid - ActionColumn \FMSoft\Framework\uniGUI\Demos\Desktop\GridImages
  2. Hi, procedure TMainForm.UniFormCreate(Sender: TObject); begin UniDateTimePicker1.DateTime := 0; end;
  3. Hi, We can use this approach for now, but this is only if there is one password field on the form, but we can change it to all fields and optimize function afterrender(sender, eOpts) { Ext.DomHelper.insertAfter( sender.triggerWrap, { id: 'capslock_td', tag: 'span', html: '<i class="fa fa-warning">CapsLock ON!</i>' }, true); capslock_td.hidden = true; Ext.onReady(function() { function _capsLockDetect(e) { if (!e) e = window.event || null; if (typeof(oncapslock) != "function" || !e) return; var n = e.keyCode ? e.keyCode : e.charCode; if (e.type == "keypress") { var c = String.fromCharCode(n); var cUC = c.toUpperCase(); var cLC = c.toLowerCase(); if (cUC != cLC) oncapslock((e.shiftKey && cLC == c) || (!e.shiftKey && cUC == c)); } else if (e.type == "keydown" && n == 20) oncapslock(false); } if (document.addEventListener) { document.addEventListener("keypress", _capsLockDetect, false); document.addEventListener("keydown", _capsLockDetect, false); } else if (document.attachEvent) { document.attachEvent("onkeypress", _capsLockDetect); document.attachEvent("onkeydown", _capsLockDetect); } else document.onkeypress = document.onkeydown = _capsLockDetect; window.oncapslock = function(on) { Ext.get("capslock_td").dom.hidden = !on } }); } Best regards,
  4. Can you check with this change too?: function beforeInit(sender, config) { config.fieldDefaults = { style: 'padding: 5px; height: 35px' } } function radioGroup.beforeInit(sender, config) { config.fieldDefaults = { style: 'padding: 5px; height: 35px' } }
  5. Although, this is also based on version 6
  6. Ok, I tested on ExtJS 6 I will check
  7. Sherzod

    FastReport

    Hi, Have you seen demo examples related to FastReport? \FMSoft\Framework\uniGUI\Demos\Desktop\FastReport...
  8. Can you try this approach for now ? radioGroup.beforeInit function radioGroup.beforeInit(sender, config) { config.fieldDefaults = { style: 'padding: 5px; height: 35px' } }
  9. Can you make a simple testcase for this?
  10. Or, maybe you wanted this: HEADER -> + sender.getColumns()[0].text +
  11. Sorry, maybe I do not quite understand what you wanted Maybe this post can help you!?: http://forums.unigui.com/index.php?/topic/6712-overflowing-text-grid-cell-tooltip/&do=findComment&comment=34164
  12. Thank you, Do you want to get it on the client side, can you give more info?
  13. Hi, First of all, please adjust your forum email address: http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/
  14. Hello, Which edition and build are you using?!
  15. First of all, please adjust your forum email address: http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/
  16. Hi, Can you try the approach, as in your "post"?: http://forums.unigui.com/index.php?/topic/10009-mobile-form-titlebutton-change-caption-on-form-show-event/&do=findComment&comment=52113
  17. Sherzod

    calendar

    Does this also happen with the standard demo? \FMSoft\Framework\uniGUI\Demos\Desktop\CalendarPanel
  18. Hi, One possible solution, for example for UniContainerPanel1: procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniContainerPanel1 do begin LayoutAttribs.Columns := 4; JSInterface.JSCall('setLayout', [JSControl.JSObject('type:"table", columns:'+IntToStr(LayoutAttribs.Columns))]); end; end; Best regards,
  19. UniTabSheet -> Layout => fit
  20. Hi, Which edition and build are you using?
  21. Maybe you are using this code: http://forums.unigui.com/index.php?/topic/8730-unicalendarpanel-change-settings/&do=findComment&comment=44844 We will check
×
×
  • Create New...