TEdit, different color border lazarus / 21-General ---------------------------------------------------------------------- Barry55 · 2021-01-12 16:48 I have a form and TEdit of the same color but I want to show the TEdit box by having a different color border. Is this possible without a huge amount of hassle. Please note this is on a Raspberry Pi not Windows. Thanks Barry ---------------------------------------------------------------------- jamie · 2021-01-12 21:52 Sure.. Drop a TPanel on the form where the TEDIT is going to be, make it a couple pixels winder then the edit. put the edit inside the TPanel and adjust the Anchors so it will always stay in place if you resize the panel  Set the color for the panel to what ever you want and only the part that is showing through will look like a outline around the TEDIT.. make sure you turn the borderstyle that is already on in the TEDIT. ---------------------------------------------------------------------- Barry55 · 2021-01-12 21:57 OK, thanks, that's a good way of working round the issue, I will give it a go. Regards Barry