Search found 3 matches

by kristo
Fri Apr 22, 2011 11:41 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Problem with object cloning
Replies: 14
Views: 10772

Re: Problem with object cloning

Thanks guys,

That helped me a lot.
I guess I have to get used a lot more to the way Runrev works before I am really at home with this development system.

Cheers
Kristo
by kristo
Thu Apr 14, 2011 11:12 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Problem with object cloning
Replies: 14
Views: 10772

Re: Problem with object cloning

Well, I tried this, but when I try to load something into the newly created image, nothing happens.


create image "Image2"
put "c:\temp\wood.jpg" into tImageURL
put URL tImageURL into image "Image2"


And how on earth do I remove the newly created objects.
Do I have to put them in a group ...
by kristo
Thu Apr 14, 2011 10:53 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Problem with object cloning
Replies: 14
Views: 10772

Problem with object cloning

I have created a simple form - one Button - one Image "Image1"
Our project requires that there are objects created dynamically on the card
at runtime.

For now I managed this by cloning an image.

This is my code for the button:


on mouseUp

local counter=0

repeat with counter=1 to 5

clone ...