Jump to content

Sherzod

Moderators
  • Posts

    14560
  • Joined

  • Last visited

  • Days Won

    434

Everything posted by Sherzod

  1. procedure TUniFrame1.UniFrameCreate(Sender: TObject); begin UniTabControl1.JSInterface.JSAddListener('resize', 'function(me){me.tabPanel.setWidth(me.getWidth())}') end;
  2. I mean, you can use the Font.Color
  3. Hello, Sorry, what should we pay attention to?
  4. Здравствуйте, Как мы можем воспроизвести? Возможно ли воспроизвести такое поведение, на стандартном демо-примере?
  5. https://docwiki.embarcadero.com/RADStudio/Sydney/en/F2047_Circular_unit_reference_to_'%s'_(Delphi)
  6. Простите, не всегда получается своевременно проанализировать...
  7. Hello, If I understand you correctly, I couldn't reproduce. Can you please explain in more detail?
  8. Hello, Try this approach for now: procedure TMainForm.UniFormReady(Sender: TObject); begin with UniDBTreeGrid1.JSInterface do JSCall('getView().setConfig', [JSObject(['stripeRows', True])]) end;
  9. Добрый день, Кажется ошибка в другом месте.
  10. So were you able to solve the problem?
  11. Hello, Can you please explain in more detail?
  12. .customDisabledCls { pointer-events: none; opacity: 0.4; }
  13. Hello, I think you can use the following approach. 1. CustomCSS: .customDisabledCls { pointer-events: none; } For example for the first button (UniPanel1). 2. "Disable": procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniPanel1 do JSInterface.JSCall('addCls', ['customDisabledCls'], ToolButtons[0].JSMenuItem); end; 3. "Enable": procedure TMainForm.UniButton2Click(Sender: TObject); begin with UniPanel1 do JSInterface.JSCall('removeCls', ['customDisabledCls'], ToolButtons[0].JSMenuItem); end; 4. Important! You should also consider this logic, in the OnToolClick event: procedure TMainForm.UniPanel1ToolClick(Sender: TUniCustomButtonItem); begin // end;
  14. Hello, So far I haven't been able to figure out what it is. I think it's body...
  15. Добрый день, Попробуйте такое решение. 1. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniListBox1.ClientEvents.ExtEvents.Values['store.add'] := 'function store.add(store, records, index, eOpts){Ext.defer(function(){'+ UniListBox1.JSName +'.boundList.select(records[0])}, 10)}'; end; 2. procedure TMainForm.UniButton1Click(Sender: TObject); var s: string; begin s := 'test9 new row 123'; UniListBox1.Items.Add(s); end;
  16. Some components are adapted to the version that comes with UniGUI. How do you want to use the new version? For what?
  17. Take a good look, the browser will show the new version as well. Sorry, I didn't pay attention. jquery.inputmask.min.js and jquery-xx.min.js are different libraries, although the first file depends on the second. jquery.inputmask.min.js - we can't unload this file at the moment because some components depend on it.
×
×
  • Create New...