Jump to content

Sherzod

Moderators
  • Posts

    19516
  • Joined

  • Last visited

  • Days Won

    630

Everything posted by Sherzod

  1. Hello, The attached file is available for download. Which edition and build of uniGUI are you using?
  2. Try this approach: procedure TMainmForm.UnimLabel1Click(Sender: TObject); begin UnimPieSeries2.Colors[0]:= '#FF8C00'; UnimPieSeries2.Colors[1]:= '#FFFFFF'; UnimPieSeries2.Colors[2]:= '#FFFFFF'; with UnimChart1.JSInterface do JSCall('chart.getSeries()['+ UnimChart1.SeriesList.IndexOf(UnimPieSeries2).ToString +'].setColors', [JSArray(['#FF8C00','#FFFFFF','#FFFFFF'])]); //UnimChart1.JSInterface //.JSCall('chart.redraw', []); end;
  3. Hello @Woutero Try specifying the namespace explicitly TMsgDlgType.mtConfirmation
  4. Hello @newsanti Well, some solution: function chart.beforeInit(sender, config) { config.series[0].listeners = { chartattached: function(chart, series) { Ext.defer(function() { var surface = chart.getSurface(); var center = chart.getCenter(); var text = 'Custom Text'; sender._customText = surface.add({ type: 'text', text: text, x: center[0], y: center[1], fontSize: 10, fillStyle: 'black', textAlign: 'center', zIndex: 1000 }); chart.redraw(); }, 500); chart.on('resize', function() { if (chart) { Ext.defer(function() { var center = chart.getCenter(); if (chart._customText) { chart._customText.setAttributes({ x: center[0], y: center[1] }); } chart.redraw(); }, 500) } }); } }; }
  5. Hello @newsanti I didn't quite understand your question.
  6. Hello @andyhill Browser Requirements Agreement: Sometimes the most effective solution may be to simply accept that some browsers may still offer to save the user's password. If so, educate users on how to properly manage their passwords and security.
  7. Hello, Try this workaround: function chart.beforeInit(sender, config) { config.series[0].renderer = function(sprite, config, rendererData, index){ return {label: "" + rendererData.store.getAt(index).data.A + "%"} }; config.series[0].listeners = { chartattached: function(chart, series) { Ext.defer(function() { series.setLabel({ display: "inside" }) }, 10) } }; }
  8. Hello, This post may help you:
  9. Hello @erich.wanker Yes, you can also see this approach in the standard demo: \FMSoft\Framework\uniGUI\Demos\Desktop\UniTreeMenu
  10. Sherzod

    uniDBTreeGrid

    Hello, Sorry, what do you mean? Please clarify.
  11. Several modules are missing. Or can they be removed?
  12. Merhaba, Can you create a test case to reproduce your issue?
  13. One possible solution for your case: function form.afterrender(sender, eOpts) { var form = this; form.uwindow.setHeight(form.getRefItems()[0].getHeight() + 10); Ext.defer(function() { form.uwindow.center() }, 100); }
  14. procedure TMainForm.tvTreeViewChange(Sender: TObject; Node: TUniTreeNode); begin //tvTreeView.Refresh; end;
  15. Merhaba, But you're using RTL, aren't you? MainmForm.RTL = ? UniMainModule.RTL = ?
  16. Hello, You can also use the width property.
×
×
  • Create New...