# \[FMX\] changing the props of htmltext with AS

**URL:** <https://forum.kirupa.com/t/fmx-changing-the-props-of-htmltext-with-as/106771>\
**Category:** Uncategorized\
**Created:** [April 8, 2004, 6:38pm UTC](https://forum.kirupa.com/t/fmx-changing-the-props-of-htmltext-with-as/106771 "2004-04-08T18:38:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxgrafx](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/maxgrafx/32/505_2.png) [@maxgrafx](https://forum.kirupa.com/u/maxgrafx)\
**Post date:** [April 8, 2004, 6:38pm UTC](https://forum.kirupa.com/t/fmx-changing-the-props-of-htmltext-with-as/106771/1 "2004-04-08T18:38:53Z")

</div>

hello everyone,

i have a question about selected text in a input field.  
i want to be able to change selected parts of text within a textfield.  
i’ve messed around with onsetFocus and similer ones, it didn’t work.

a example:

i have a textfield with a title and some text. i want to make the title bold by using a button and selecting the text.

I hope that someone can help me.

thanx :thumb:.

Max  
**[size=1]Maxgrafx[/size]**
