# Rounded textfield

**URL:** <https://forum.xojo.com/t/rounded-textfield/12174>\
**Category:** General\
**Created:** [November 8, 2013, 2:52am UTC](https://forum.xojo.com/t/rounded-textfield/12174 "2013-11-08T02:52:35Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Antonio\_Jos\_Masi\_Gue](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/f07891/32.png) [@Antonio\_Jos\_Masi\_Gue](https://forum.xojo.com/u/Antonio_Jos_Masi_Gue)\
**Post date:** [July 11, 2017, 1:58pm UTC](https://forum.xojo.com/t/rounded-textfield/12174/21 "2017-07-11T13:58:03Z")

</div>

How can I do it with a textArea field?

Thanks!

---

<div class="post-metadata">

**Author:** ![Gerardo\_Garca](https://forum.xojo.com/letter_avatar_proxy/v4/letter/g/e99b99/32.png) [@Gerardo\_Garca](https://forum.xojo.com/u/Gerardo_Garca)\
**Post date:** [March 28, 2018, 11:37pm UTC](https://forum.xojo.com/t/rounded-textfield/12174/22 "2018-03-28T23:37:48Z")

</div>

Wow, great! and for windows? Is it possible. I mean I understand Xojo uses native dlls for windows and draw horrible controls

---

<div class="post-metadata">

**Author:** ![Tim\_Parnell](https://forum.xojo.com/user_avatar/forum.xojo.com/tim_parnell/32/161_2.png) [@Tim\_Parnell](https://forum.xojo.com/u/Tim_Parnell)\
**Post date:** [March 29, 2018, 1:02am UTC](https://forum.xojo.com/t/rounded-textfield/12174/23 "2018-03-29T01:02:14Z")

</div>

These are declares into the system level native Mac libraries. Unless Windows has these features in it’s system, you’ll have to make something on your own.

---

<div class="post-metadata">

**Author:** ![Sam\_Rowlands](https://forum.xojo.com/user_avatar/forum.xojo.com/sam_rowlands/32/265_2.png) [@Sam\_Rowlands](https://forum.xojo.com/u/Sam_Rowlands)\
**Post date:** [March 30, 2018, 1:32am UTC](https://forum.xojo.com/t/rounded-textfield/12174/24 "2018-03-30T01:32:08Z")

</div>

[quote=339936:@Antonio José Masiá Guerrero]How can I do it with a textArea field?

Thanks![/quote]  
Create a custom control.

> [@380035:@Gerardo García](#):
>
> Wow, great! and for windows? Is it possible. I mean I understand Xojo uses native dlls for windows and draw horrible controls

Create a custom control.

Take one Container Control, drop and TextField or TextArea on to, align it centrally in the container control and give yourself space. Remove the border from the TextField/Area, then use the “Paint” event from the Container Control to fill a rounded rectangle.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 4:55pm UTC](https://forum.xojo.com/t/rounded-textfield/12174/25 "2020-10-29T16:55:47Z")

</div>



[Previous page](https://forum.xojo.com/t/rounded-textfield/12174.md?page=1)
