Create button script won't work - why?
Monte Goulding
monte at sweattechnologies.com
Mon Nov 15 19:03:08 EST 2010
You will have to set the defaultStack etc to create the group just like you were doing for the button but once the group is created you can create as many buttons as you like in it without worrying about the defaultstack etc. Alternatively you could have a template group on another stack and copy it.
Cheers
Monte
On 15/11/2010, at 5:27 PM, Bill Vlahos wrote:
> 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
>
> _______________________________________________
> 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