Applying a style to text in development
Dar Scott
dsc at swcp.com
Sat Jun 7 12:35:01 EDT 2003
On Saturday, June 7, 2003, at 02:15 PM, Emmanuel Companys wrote:
> on enterInField
> get the selectedtext of me
> set textfont of it to <font name>
> set textcolor of it to <color name or the corresponding of 3
> digits>
> set textstyle of it to "bold"
> end enterInField
I changed selectedtext to selectedChunk and it works great! Thanks!
I can see I need to put get/it to better use; I would have used my own
variable.
Dar
More information about the use-livecode
mailing list