Jump to content

Sherzod

Moderators
  • Posts

    19698
  • Joined

  • Last visited

  • Days Won

    637

Everything posted by Sherzod

  1. Hi Dominique, Try this approach: procedure TMainForm.UniButton1Click(Sender: TObject); begin UniTreeMenu1.JSInterface.JSCall('rootItem.getNode().expandChildren', [True]); //expand //UniTreeMenu1.JSInterface.JSCall('rootItem.getNode().collapseChildren', [True]); //collapse end;
  2. Hello, Thank you for your interest in UniGUI! Already supports.
  3. Тогда, пожалуйста не используйте на данный момент. Эта ошибка в ядре, в js компоненте.
  4. Согласен. Думаю, Вы можете расширить.
  5. Sherzod

    Bad Support

    But I did not close your topics. Right?
  6. Sherzod

    Wysiwyg editor

    Добрый день, Как минимум, UniHTMLMemo. Более продвинутая, TinyMCE (есть примеры использования на форуме).
  7. Try these sequences of steps: 1. 2. procedure TUniForm1.UniFormCreate(Sender: TObject); var EventoJs: string; begin // if FHideOption = True then // begin // // None // end // else // begin // // Creo el evento para el javascript // EventoJs := 'function window.afterCreate(sender){sender.addTool([{'+ // 'xtype: ''button'','+ // 'text: ''Test button'','+ // 'iconCls: ''myicon'','+ // 'handler:function(){'+ // 'this.up(''window'').mask(''Wait...'');'+ // 'ajaxRequest(this.up(''window''),''test'',[]);'+ // '}}]);}'; // // // Agrego al formulario // Self.ClientEvents.UniEvents.Values['window.afterCreate'] := EventoJs; // end; end; procedure TUniForm1.UniFormReady(Sender: TObject); begin if not FHideOption then begin JSInterface.JSCall('header.insert', [1, UniButton1.JSControl], WebForm.JSWindow); end; end;
  8. Hello, Try something like this: function chart.beforeInit(sender, config) { config.axes[1].label = { fontSize: 14 }; config.axes[1].renderer = function(v, l) { //{1}-Wrap after one word //{2}-Wrap after two words return l.replace(/((?:\w+ ){2})/gi, "$1\n"); }; }
  9. Hello, Have you tried searching on the forum?
  10. Hello Friends! One of these days I will try to post an example. Sources: Created based on UniSweetAlert and https://sweetalert2.github.io/ Theme: Material-UI, but it is possible to include and use the available themes (https://sweetalert2.github.io/#themes)
  11. Hello Friends! Try this. ColorComboBox.rar Limitations: procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin FormatSettings.DecimalSeparator := '.'; end;
  12. Я подготовлю и чуть позже выложу пример (компонент).
  13. Try this (font size): function chart.beforeInit(sender, config) { config.axes[1].label = { fontSize: 14 } }
×
×
  • Create New...