Jump to content

Sherzod

Moderators
  • Posts

    19519
  • Joined

  • Last visited

  • Days Won

    630

Everything posted by Sherzod

  1. Are you using a mobile device? If so, which device, browser? And what application do you use: mobile or desktop?
  2. Are you using a mobile device? If so, which device, browser? And what application do you use: mobile or desktop?
  3. Well then you should have at least specified exactly which platform ))
  4. Hello, Please check out the demo: \FMSoft\Framework\uniGUI\Demos\Desktop\GridFiltering-2
  5. Have you checked the solution from the link above?
  6. Sorry for late response. One possible solution: 1. UniEdit1... function keydown(sender, e, eOpts) { var customVar = ajaxRequest(sender, 'getCVar', {}, false).responseText; alert(parseInt(customVar) + 5); } 2. procedure TMainForm.UniEdit1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'getCVar' then begin // Instead of 10, "any variable"... UniSession.SendResponse(10.ToString()); end; end;
  7. Which theme are you using? How can we reproduce? Basically themes control many styles.
  8. Well, the replacePswCnt variable was not found on the client side...
  9. At this point you find out that the client is not sending the request for many reasons...
  10. Thanks for the update. Please clarify your question again. What does the component look like by default and what needs to be changed?
  11. This is a textarea, is this advisable, what do you think?
  12. Ok. Try simply use this solution for now: CustomCSS -> .x-textareafield textarea { line-height: normal !important; }
  13. Can you try this? UnimMemo1.JSInterface.JSProperty('textAlign', ['center'], 'setTextAlign'); //'left', 'center', 'right'
  14. procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimMemo1.JSInterface.JSConfig('textAlign', ['center']); //'left', 'center', 'right' end;
  15. Sherzod

    TUniPopupMenu

    One possible solution: 1. type TXPopupMenu = class(TUniPopupMenu) end; 2. OnReady event -> procedure TMainForm.UniFormReady(Sender: TObject); begin with TXPopupMenu(UniPopupMenu1).MenuControl.JSInterface do JSAddListener('afterrender', 'function(){this.items.sort(function(item1, item2) {return item1.text.localeCompare(item2.text)})}') end;
×
×
  • Create New...