I have a text where one of the words is a link that call a external html, that is into a diferent folder (I can't change the folder). I'm using this code, but doen't work.
on mouseWithin
case (the mouseWord) of
242: set the foreColor of word(the mouseWord) of member "Jogo_01" to 6
cursor 280
otherwise:
set the foreColor of member "Jogo_01" to 0
cursor -1
end case
end
on mouseUp
set the foreColor of member "Jogo_01" to 0
cursor -1
fxObj = xtra("FileXtra3".new()
case (the mouseWord) of
242ut fxObj.fx_FileOpenDocument("..\Jogo_1\readme.htm"
end case
fxObj = 0
end
How can I do this????? There is another way to do?
on mouseWithin
case (the mouseWord) of
242: set the foreColor of word(the mouseWord) of member "Jogo_01" to 6
cursor 280
otherwise:
set the foreColor of member "Jogo_01" to 0
cursor -1
end case
end
on mouseUp
set the foreColor of member "Jogo_01" to 0
cursor -1
fxObj = xtra("FileXtra3".new()
case (the mouseWord) of
242ut fxObj.fx_FileOpenDocument("..\Jogo_1\readme.htm"
end case
fxObj = 0
end
How can I do this????? There is another way to do?