hilite in widget"switch"script does not work, but does in...
Posted: Mon Sep 19, 2016 9:27 pm
Hi,
can someone please explain:
in a simple button this works:
but in the widget itself this similair code is not working:
already tried hilite and highlight, which does not help
when you use the standard code "put the hilited of me" then it show true or false so that's ok
So from another button it seems to work using the hilite of it
but in the widget itself not
Using LC8.1 stable
Any suggestions on this?
Thanks a lot!
can someone please explain:
in a simple button this works:
Code: Select all
if the hilited of widget"switch" then
put "localport=" into sPort
put fld"addthis" after sPort
else
put "program=" & quote into sPort
put fld"addthis" & quote after sPort
end if
Code: Select all
on hiliteChanged
if the hilited of me then
set the visible of widget "hithere" to true
else
set the visible of widget "hithere" to false
end if
end hiliteChanged
when you use the standard code "put the hilited of me" then it show true or false so that's ok
So from another button it seems to work using the hilite of it
but in the widget itself not
Using LC8.1 stable
Any suggestions on this?
Thanks a lot!