newsanti Posted February 29 Share Posted February 29 How to remove TUnimEdit Border? Quote Link to comment Share on other sites More sharing options...
26554431 Posted February 29 Share Posted February 29 You can use Unimemo borderstyle - ubsNone Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 29 Share Posted February 29 8 hours ago, newsanti said: How to remove TUnimEdit Border? Hello, Which theme are you using? Quote Link to comment Share on other sites More sharing options...
newsanti Posted February 29 Author Share Posted February 29 6 hours ago, 26554431 said: You can use Unimemo borderstyle - ubsNone I use for mobile TunimEdit with InputType=Number Two Picture Below Compare TunimEdit Border with same Theme between IOS and Android Mobile. I want to remove edit border for the same display. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 1 Share Posted March 1 @newsanti Also try this approach: procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimEdit1.JSInterface.JSAddListener('painted', 'function(){this.inputWrapElement.setStyle("border", "none")}') end; 1 Quote Link to comment Share on other sites More sharing options...
newsanti Posted March 1 Author Share Posted March 1 2 hours ago, Sherzod said: @newsanti Also try this approach: procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimEdit1.JSInterface.JSAddListener('painted', 'function(){this.inputWrapElement.setStyle("border", "none")}') end; border = none ..do not work. Edit_BUDGET.JSInterface.JSAddListener('painted', 'function(){this.inputWrapElement.setStyle("border", "1px solid '+ UniColor2Web($001C1C1E)+'")}') Android..is OK. IOS..is OK. but has round border of TunimEdit. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 1 Share Posted March 1 1 minute ago, newsanti said: Can you make a simple app? 1 Quote Link to comment Share on other sites More sharing options...
newsanti Posted March 1 Author Share Posted March 1 1 minute ago, Sherzod said: Can you make a simple app? I will try. 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.