Higlighting text
Posted: Thu Sep 17, 2009 3:40 am
Hi again,
I want users to be able to highlight some words in a text field, but I have no idea how to do it. I have been reading the User guide and some of the entries in this forum but nothing is working. I tried with some like this:
on mouseEnter
set the backgroundcolor of selectedChunk to red
end mouseEnter
I also tried
on mouseEnter
set the linkHiliteColor to red
end mouseEnter
The dictionary says:
Use the linkHiliteColor property to make grouped text look and behave like links in a web browser.
Probably I am oversimplifying, I dont even know if my text is already groped. I would like users to have the option o highliting single words and chunks of text.
Marta
I want users to be able to highlight some words in a text field, but I have no idea how to do it. I have been reading the User guide and some of the entries in this forum but nothing is working. I tried with some like this:
on mouseEnter
set the backgroundcolor of selectedChunk to red
end mouseEnter
I also tried
on mouseEnter
set the linkHiliteColor to red
end mouseEnter
The dictionary says:
Use the linkHiliteColor property to make grouped text look and behave like links in a web browser.
Probably I am oversimplifying, I dont even know if my text is already groped. I would like users to have the option o highliting single words and chunks of text.
Marta