Hi Bob, > You can use break in an if end if structure??
sure you can! But I won't make sense and will probably throw an error :-D > Bob > > > On Jan 18, 2011, at 3:41 AM, Martin Meili wrote: > >> Hi >> I don't know whether I've understood your problem correctly or not. But, >> just in case, I usually do these things the following way: >> >> on mouseup >> if the hilite of me <> true then >> set the hilite of me to true >> break >> end if >> if the hilite of me = true then >> set the hilite of me to false >> end if >> end mouseup >> >> Make sure that the autohilite property of your button is set to false. >> >> Cheers >> Martin Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode