Jump to content

MVakili

uniGUI Subscriber
  • Posts

    172
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by MVakili

  1. I found number 1 answer Unicheckbox1.parentcolor:=False
  2. I wrote a testcase for you but here everything is ok !!!!!!!!!!!!! I will check my project again but 2 question 1- how I can transparent for example a checkbox 2- how I can change color (or transparent) behind of data in UniDbGrid in testcase Test.rar
  3. and how I can change this colors? is there any reference ?
  4. sorry it was my fault , your code works procedure TJRBForm.UniFormShow(Sender: TObject); begin // with UniBitBtn1.JSInterface do // begin // JSCall('btnWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']); // end; UniPanel1.JSInterface.JSCall('setBodyStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']); end; is it for change of command? setbodystyle setBodyStyle
  5. procedure TJRBForm.UniFormShow(Sender: TObject); begin with UniPanel1.JSInterface do begin JSCall('btnWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']); end; UniPanel1.JSInterface.JSCall('setbodystyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);
  6. Base on another topic I change the color of unibitbtn UniBitBtn1.JSInterface.JSCall('btnWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']); now I want to change another component like UniPanel UniDbGrid unicheckBox and so on for example is it correct for UniPanel1 unipanel1.JSInterface.JSCall('pnlWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);
  7. WOW Thats good do you have any demo page?
  8. Hi dear I cant find uni_DBGridDragDrop.rar may attach again ?
  9. 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;
  10. 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?
  11. 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
  12. Ok ..What if I want to release and create again the chart? is it possible ?
  13. 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
  14. 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 ?
  15. 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
  16. In this case finally you wrote this function window.show(sender, eOpts) { this.setHidden(true); } is there another solution for this problem?
×
×
  • Create New...