Jump to content

How to remove TUnimEdit Border?


newsanti

Recommended Posts

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.


image.thumb.png.30b818db6fe0dabb436c899c721f7ef9.pngimage.thumb.png.480f231ad99625990355f30b170a6590.png

Link to comment
Share on other sites

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.
image.png.aa20ba5ab311c4d7d24050feed551441.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...