I wonder if maybe storing the loc of the group, centering it, creating the 
button, then restoring the loc of the group would do? Stupid LiveCode Tricks 
you know. 

Bob


On Nov 15, 2010, at 7:28 PM, Bantymom wrote:

> 
> After reading what Bob said about "in" vs "on" I tried the following (after
> making a group on card Two):
> 
> on mouseUp
>   create button "Herb" in group "Two" on card "Two"
> end mouseUp
> 
> It worked. I'm sure it doesn't help the original situation, but I had to try
> it out. It doesn't matter where the group is, it doesn't create the button
> in relation to the group, it creates the new button in the center of the
> card, though still part of the group. 
> 
> And Klaus, thank you for teaching me about "lockMessages" :)
> 
> *goes to learn about pushing and popping cards*
> -- 
> View this message in context: 
> http://runtime-revolution.278305.n4.nabble.com/Create-button-script-won-t-work-why-tp3042381p3044174.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> _______________________________________________
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to