hallo,
i wonder if it is possible to call a livecode funtion from html code ?
for example:
i have a field and i set the HTMLText to
<a href="call foo function">foo</a>
is there a way to call a livecode funtion (or command) in that way ?
best regards
fred
call livecode function from html ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: call livecode function from html ?
Hi Fred,
just add a "linkclicked" handler to your field!
Best
Klaus
just add a "linkclicked" handler to your field!
Code: Select all
on linkclicked tLink
switch tLink
case "call foo function"
get foo() ## or whatever
break
...
end switch
end linkclicked
Klaus
Re: call livecode function from html ?
thank you klaus, that was what i searched for.
best regards
fred.
best regards
fred.