Home > Back-end >  The Bulider TEdit control whether to rounded rectangle? Fill the gradients or background? How to imp
The Bulider TEdit control whether to rounded rectangle? Fill the gradients or background? How to imp

Time:10-02

If inscribe Bulider TEdit control can be described as the rounded rectangle? Fill the gradients or background? How to implement?

CodePudding user response:

Pure rounded rectangle well done, or a TShape inside, you put the TEdit border cancelled, 3 d effect is canceled, the background color is set to the same,

As for the gradient, this is a difficult problem, the reason is that if you Edit characters display width is greater than the text box, can make background move around mobile, the solution is to intercept all operations show related news, Edit the equivalent of your heavy picture,

CodePudding user response:

With pictures, from painting to inherit to write their own controls, trouble,
  • Related