Setting button hilite in a script

stephen barncard stephenREVOLUTION2 at barncard.com
Mon Mar 11 19:43:57 EDT 2013


try using a full path to the object

btn "local" of card 1 of stack "whatever"

if the calling script isn't in the right place in the message path, it may
never 'see' the object.

On Mon, Mar 11, 2013 at 4:08 PM, Peter Bogdanoff <bogdanoff at me.com> wrote:

> Hi all,
>
> In the course of a script that does other things, I want to set the hilite
> of a radio button--but it's not happening:
>
>         if there is a button "Local" then
>                 set the hilite of button "Local" to true
>
> doesn't do that.
>
>         click button 1 at the loc of button "Local"
>
> doesn't work either.
>
> I've tried adding to the script
>
>         wait 1 milliseconds with messages
>
> No go.
>
> ??
>
> Peter Bogdanoff
> UCLA
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list