linkColor and TextColor

Terry Judd tsj at unimelb.edu.au
Sat Nov 28 16:09:57 EST 2009


If you set the textColor of the entire field rather than just a chunk of it
then the linkColor and linkVisitedColor are respected. Otherwise you need to
do what you are currently doing (it seems to be this way back to version
3.0, so I'm guessing it has always been so).

Terry...


On 28/11/09 11:05 PM, "gmccarthy" <gmccarthy at people.net.au> wrote:

> 
> TextColor prevents linkColor
> In RunRev 4.0.0 I've being finding that having a text chunk set to any
> colour apart from empty, then making the chunk a link, prevents the
> linkColor from being displayed. The text keeps the TextColor while becoming
> underlined.
> 
> I've had to use the following workaround (which removes the color setting
> for the chunk) for the relevant chunk of a field:
> set the textstyle of ...... to "link"
> set the linkText of ....... to "go to cd 12"
> set the forecolor of ....... to ""
> 
> I couldn't find anything on this in the docs.
> 
> Can anyone confirm whether this is the expected behaviour or the typical
> behaviour in earlier RunRev versions?
> 
> Gerard




More information about the use-livecode mailing list