A couple of graphic object questions
Doug Lerner
doug at webcrossing.com
Mon Jan 12 09:02:20 EST 2004
On 1/12/04 10:05 PM, "Jan Schenkel" <janschenkel at yahoo.com> wrote:
> --- Doug Lerner <doug at webcrossing.com> wrote:
>> On 1/12/04 9:57 PM, "Jan Schenkel"
>> <janschenkel at yahoo.com> wrote:
>>>
>>> In what sense does it not work ? Are you getting
>>> compile errors or unexpected results ? I just
>> tested
>>> it here and my sample code showed the long id's of
>>> each graphic control on the card.
>>
>> It does work - sorry.
>>
>> But I am definitely, and weirdly, getting lots of
>> duplicate graphic numbers,
>> like 16 and 16, 17 and 17, 18 and 18.
>>
>> This is in the inspector.
>>
>> doug
>>
>
> If my memory serves me well, the IDE wants to get the
> newGraphic message as well, since it will give the new
> graphic a name based on the name of the last graphic
> created.
> If you include a line 'pass newGraphic' at the end of
> the newGraphic handler in your card script, this
> should allow everything to work.
That does work. Thanks.
doug
More information about the use-livecode
mailing list