Native Switch Button?

Graham Samuel livfoss at mac.com
Thu Apr 23 05:28:10 EDT 2020


Is anyone using the Native Switch Button? It looks OK (a bit big on my iOS simulator, but it will do) and it works - although the insanity of spelling “highlight” two ways in the one object is apparent - but running an experiment just now in which I go to a card with such an on object on it and not much else, certainly nothing in the card script, a ‘hiliteChanged’ event is triggered even though AFAIKS the highlight (see what I did there?) hasn’t changed.

Is this expected behaviour? I can’t really believe it, but as usual I can’t see what i’m doing wrong. I certainly don’t want the message to be triggered unless the user touches the screen or I deliberately change the state by script.

Graham



More information about the use-livecode mailing list