SayeyeZohor Posted July 17, 2019 Share Posted July 17, 2019 hi, i use RTL Property and i want change close/max/minimize btn AND Collapse btn to right without change RTL please refer me tnx ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2019 Share Posted July 17, 2019 1 hour ago, SayeyeZohor said: i use RTL Property and i want change close/max/minimize btn to right without change RTL One possible solution I think. function window.beforeInit(sender, config) { config.titlePosition=3; config.titleAlign='right'; } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2019 Share Posted July 17, 2019 1 hour ago, SayeyeZohor said: i use RTL Property and i want change Collapse btn to right without change RTL procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSConfig('titlePosition', [1]); end; Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted July 17, 2019 Author Share Posted July 17, 2019 15 minutes ago, Sherzod said: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniPanel1.JSInterface.JSConfig('titlePosition', [1]); end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2019 Share Posted July 17, 2019 11 minutes ago, SayeyeZohor said: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniPanel1 do begin JSInterface.JSConfig('titlePosition', [1]); TitleAlign := taLeftJustify; end; end; 1 Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted July 17, 2019 Author Share Posted July 17, 2019 25 minutes ago, Sherzod said: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniPanel1 do begin JSInterface.JSConfig('titlePosition', [1]); TitleAlign := taLeftJustify; end; end; tnx Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted July 17, 2019 Author Share Posted July 17, 2019 31 minutes ago, Sherzod said: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniPanel1 do begin JSInterface.JSConfig('titlePosition', [1]); TitleAlign := taLeftJustify; end; end; sorry, how change close btn position also? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2019 Share Posted July 17, 2019 8 minutes ago, SayeyeZohor said: sorry, how change close btn position also? 59 minutes ago, Sherzod said: 2 hours ago, SayeyeZohor said: i use RTL Property and i want change close/max/minimize btn to right without change RTL One possible solution I think. function window.beforeInit(sender, config) { config.titlePosition=3; config.titleAlign='right'; } Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted July 17, 2019 Author Share Posted July 17, 2019 17 minutes ago, Sherzod said: RTL Property changed Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2019 Share Posted July 17, 2019 function window.beforeInit(sender, config) { config.titlePosition=3; //config.titleAlign='right'; } 1 Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted September 29, 2019 Author Share Posted September 29, 2019 hi how to reverse btn ? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 29, 2019 Share Posted September 29, 2019 2 hours ago, SayeyeZohor said: Hi, Did you "draw" it yourself? Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted September 30, 2019 Author Share Posted September 30, 2019 I drew the first one, but the second one is the original and I want to reverse 18 hours ago, Sherzod said: Hi, Did you "draw" it yourself? @Sherzod i want reverse bellow form btn Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.