Jump to content

Sherzod

Moderators
  • Posts

    14560
  • Joined

  • Last visited

  • Days Won

    434

Sherzod last won the day on January 22

Sherzod had the most liked content!

About Sherzod

Contact Methods

  • Website URL
    https://t.me/uniguidevelopers - https://www.youtube.com/channel/UC7kscyiTV5Y1dENrIklrc1A

Profile Information

  • Gender
    Male

Recent Profile Visitors

17652 profile views

Sherzod's Achievements

Advanced Member

Advanced Member (4/4)

1.5k

Reputation

  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;
×
×
  • Create New...