View Full Version : help with the code
mgokkaya
03-19-2007, 12:42 PM
i block a text in input object and when i click button i want to add the code to the beginning and the end of the blocked text...
how can i do it ????
example:
I AM [ COLOR="Red" ] IN THE [ /COLOR ] ROOM
mgokkaya
03-19-2007, 05:13 PM
any answer ????
RizlaUK
03-19-2007, 05:36 PM
dude, you cant just post a empty project and come back 3 1/2 hours later and expect someone to code it for you, in that time you could have looked at the manual, rivised input.getselection, various string commands and input.settext and you would be half way there
make a effort to at least try and someone might make the effort to help you, but reply to a 4 hour old post "any answer ????" is not going to get you anywhere, have some patience !!
I looked at the empty project too, and thats as far as I went.
I will give this tid-bit. The Input object supports only one color for all the text in it, so what you have there wouldn't work unless you did it in a web object.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.