Hofiiik
08-13-2009, 07:36 AM
Hi all,
I'm trying to make a HTML editor in AMS. It would contain several buttons, which would make writing HTML code faster, than in Notepad. I'm using Input as object for typing, but I want to use a RichText object and differentiate HTML code from text (for example, text will be black and <p> will be purple etc.). However, I don't know, how to do that :huh Do you have any ideas how to make this possible? Thank you
Here's what I've already done (it's in Czech, but I'll translate it into English):
http://img229.imageshack.us/img229/7461/wildmonkeyssprvcewebu.th.png (http://img229.imageshack.us/i/wildmonkeyssprvcewebu.png/)
I'm trying to make a HTML editor in AMS. It would contain several buttons, which would make writing HTML code faster, than in Notepad. I'm using Input as object for typing, but I want to use a RichText object and differentiate HTML code from text (for example, text will be black and <p> will be purple etc.). However, I don't know, how to do that :huh Do you have any ideas how to make this possible? Thank you
Here's what I've already done (it's in Czech, but I'll translate it into English):
http://img229.imageshack.us/img229/7461/wildmonkeyssprvcewebu.th.png (http://img229.imageshack.us/i/wildmonkeyssprvcewebu.png/)