2

I'm using Delphi 10.3 to develop an Android application. Is there any way to create a TEdit that has rounded corners?

Found a link for How to create EditText with rounded corners?, how can I do the same thing in Delphi?

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770

1 Answers1

3

You need TRectanbgle with CornerType Round and your TEdit on TRectangle (TRectangle will be parent) All with same backgroud color. enter image description here

  • I have set TRectangle - XRaxis and YRadius as10 and Set the style as TranspatentEdit for TEdit.and also Trectangle as Parent and Tedit Align as Client. It works fine for. Thanks – Work 2 Enjoy - Enjoy 2 Work Feb 17 '21 at 05:00