Manipulating custom props (was Re: Enabling a Menu)
Jim Ault
JimAultWins at yahoo.com
Sun Mar 25 13:24:57 EDT 2007
The syntax I like for updating/appending data to a custom property is
on mouseup
set the the clickCount of me to (the clickCount of me +1)
end mouseup
On 3/25/07 9:36 AM, "Jim Ault" <JimAultWins at yahoo.com> wrote:
> Yep, just typed and sent a little too fast.
> Thanks
>
> Jim Ault
> Las Vegas
>
>
> On 3/25/07 9:29 AM, "Eric Chatonet" <eric.chatonet at sosmartsoftware.com>
> wrote:
>
>> Hi Jim,
>>
>>> on mouseup
>>> add 1 to the clickCount of me
>>> end mouseup
>>
>> Would be great and simple!
>> But (and I know you know it :-), manipulating custom props needs to
>> put them first into a variable:
>>
>> local tClickCount
>> -----
>> put the clickCount of me into tClickCount
>> add 1 to tClickCount
>> set the clickCount of me to tClickCount
>>
>> Best regards from Paris,
>> Eric Chatonet.
More information about the use-livecode
mailing list