Jump to content

MVakili

uniGUI Subscriber
  • Posts

    161
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by MVakili

  1. with TUniPanel.Create(Self) do begin Left:=100; Top:=140; Width:=140; Height:=140; Text:='Text'; Name:='AA'; Parent:=MainForm; TitleVisible:=True; With ToolButtons.Add Do Begin Index:=0; IconCls:='action'; Action:=Action1; End; With ToolButtons.Add Do Begin Index:=1; IconCls:='add'; Action:=Action2; End; With ToolButtons.Add Do Begin Index:= 2; IconCls:='more'; Action:=Action3; End; end;
  2. I want to create ToolButtons in UniPanel at runtime it seems I can use this UniPanel2.ToolButtons.InsertButtons but how add a button to it?
  3. Hi @Marlon Nardi I finished runtime creating chart again But it seems can be control by component properties for example I changed ChartProperties and send it to new chart creation but it wont change
  4. Ok ..What if I want to release and create again the chart? is it possible ?
  5. Tank you Ill check Another question I want to change ChartChartSeriesDefault and ChartProperties at run time .. but It seems dosnt work may you help me ChartChartSeriesDefault:=''; ChartChartSeriesDefault:=MSeriesDef.Lines.Text; ChartProperties.Clear; ChartProperties.Text:=MProperties.Lines.Text; Both MSeriesDef and MProperties are TUniSyntaxEdit
  6. Hi @Marlon Nardi I delete ChartImageBackGround property but every time I open my project it shows error like image I set it to 'null' in property or even in before init but I had error again how I can change it ?
  7. well we try to change this project and find another solution you can download changed project 1) in BB project we try to isolate AMainForm uses // Comment this line when use in BB project--------- // AMainModule, // -------------------------------------- uniGUIVars, uniGUIApplication; function AMainForm: TAMainForm; begin // Comment this line when use in BB project--------- // Result := TAMainForm(AUniMainModule.GetFormInstance(TAMainForm)); // end; and then we call UniButton with Bform handel AMainForm.UniButton1Click(BMainForm); In this case, there is no need to hide the form We checked the server and everything seemed to work. You can download and view the result Projects.rar
  8. In this case finally you wrote this function window.show(sender, eOpts) { this.setHidden(true); } is there another solution for this problem?
  9. All of our tools (forms, common user UI , dynamic charts , report generator and so on)
  10. Tanks for replay we have to work as a team and I think this is best way
  11. Hi I want to share an unit in our team. In testcase you can see we have A project assumed to share . In B project I want to call the procedure of A project. But after call Uni shows The A form too , but I dont want it How I can solve it? Projects.rar
  12. Hi I change this code procedure TFChart.WChartAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = 'ClickSeries' then ShowToast(ChartName+'</br>'+ Params.Values['name']+' In '+Params.Values['category'] +' : '+Params.Values['value']); and I want have this message in tooltip and label too. my current values is ChartProperties.Values['tooltip'] := '{visible: true, format: "0"}'; ChartSeriesDefaults := 'labels: {visible: true,align: "fit", position: "insideEnd"}'; 1) Please help me to change it as I show in ShowToast 2) How I can show percentage in my tooltip ?
  13. If you want to auto start program after run server use this command post-build -> start http://localhost:8077
  14. you alright but I have no idea what happened I check my folder . I have same file
  15. taskkill /f /im $(OUTPUTFILENAME) 2>1 || exit /B 0
×
×
  • Create New...