Create button script won't work - why?

Bill Vlahos bvlahos at mac.com
Mon Nov 15 01:27:09 EST 2010


Monte,

Am I able to create a group on the new card? I don't see a syntax for that.

Gee, it isn't looking like I'm going to be able to do what I want. Discouraging.

Bill Vlahos
On Nov 14, 2010, at 9:33 PM, Monte Goulding wrote:

>> Is there a way to directly create a button on a particular card in a particular stack without going to it and doing all this? The stack I want to create the button into is data stack that never gets viewed directly. In this case it will be data in the custom property of that button.
> 
> You can only do this if you want to create the control in a group for some reason. It is a bit odd. It should be:
> create [invisible] type [name] [in group|card|stack]
> 
> Where stack reference creates the control on the current card of the stack. But for some reason it doesn't work that way so stick to your script or create a group to create objects in.
> 
> Cheers
> 
> Monte_______________________________________________
> 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