Moving a button
Joe Lewis Wilkins
pepetoo at Cox.Net
Mon Mar 19 12:32:08 EDT 2007
Yes, Charles. I'd put a couple of beeps into your script, or some
puts to msg, so that you know the various parts of the script are
even being called. I suspect your "ifs" are blocking the flow for
some reason. Also, your naming of buttons may not be exactly correct.
Joe Wilkins
On Mar 10, 2007, at 11:31 AM, Charles Szasz wrote:
> I have tried to move a button based on the properties of two
> buttons but this does not work. Here is the script:
>
> on preopenCard
>
> if the label of button "check3" is not visible and the label of
> button "check6" is visible
> then
> set the location of button "check6" to the location of this card
> end if
>
> end preopenCard
>
> If I just type set the location of button "check6" to the location
> of this card in the message box, it works. But with the if
> statement the above does not work.
>
> Any suggestions?
>
>
> Charles Szasz
> cszasz at mac.com
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list