Search found 86 matches

by ukimiku
Sun Oct 25, 2009 1:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Drawing into a loaded image
Replies: 6
Views: 3818

Jan, thanks, understood. In fact, I will need to group the painted image and the overlaid graphics controls as I must extract rectangular portions of the combined image afterwards. Sorry, I forgot to pose one question concerning the painted image (only, not the graphics controls): is there a way in ...
by ukimiku
Sun Oct 25, 2009 12:58 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Drawing into a loaded image
Replies: 6
Views: 3818

Drawing into a loaded image

I would like to draw a couple of black lines into an image I loaded in a RunRev script. This image is displayed in an Image Area on a card.

1) How can I set points/draw lines/shapes into this image?
I want the change only on-screen, not in the file displayed.

Thanks!
by ukimiku
Sat Oct 24, 2009 5:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: modify stack
Replies: 2
Views: 1901

Hi Mark, thanks!! I didn't know that the mesage box could do such a thing. This will save me some time, I'm sure. My program had a bug which caused the code editor to appear. This enabled me to perform a search for a handler name, and then, in the openCard handler, I could insert "set the cantmodify...
by ukimiku
Sat Oct 24, 2009 2:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: modify stack
Replies: 2
Views: 1901

modify stack

Hi all,

I accidentally clicked "Can't modify" in the properties inspector. Now, of course, I want to modify the stack, but can't access the property inspector anymore. What can I do?

Thank you.
by ukimiku
Fri Oct 23, 2009 10:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: image on click handler
Replies: 9
Views: 4186

Another update: the stack I was working on appears indeed corrupted. I deleted all handlers (making backup copies beforehand) and then reinserted them one by one, and the original behavior of the stack never showed again. In fact, the on cardOpen and on stackOpen event handlers won't do anything at ...
by ukimiku
Fri Oct 23, 2009 2:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: image on click handler
Replies: 9
Views: 4186

Thanks to the both of you! I think I understand the message path approximately now. Since I don't want to distinguish many different kinds of user clicks, I didn't want to write my code into the "mouseUp" handler of the card, it would have become messy. So I wrote a line that assigned the parentscri...
by ukimiku
Fri Oct 23, 2009 10:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: image on click handler
Replies: 9
Views: 4186

image on click handler

Dear Mark & Bernd, thanks for pointing me to that wealth of information. Funny: I had already programmed "on mouseUp" handlers for buttons but then, late at night, somehow thought that images deserved a special handler, called "on click". Well... :) Anyhow, my program is running now. While the mouse...
by ukimiku
Thu Oct 22, 2009 11:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: image on click handler
Replies: 9
Views: 4186

image on click handler

Dear group, I have several images (loaded from files) on my card. I want to achieve the following behavior: when I click on one of the images, a certain function should be called. However, I lack the understanding necessary to add an "on click" handler to any of the images. How to go about that? Tha...
by ukimiku
Thu Oct 22, 2009 3:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: the formattedText of
Replies: 4
Views: 2578

the formattedText of

Hi Bernd,

thanks for explaining. Now I have a working understanding of the issue and will move on to getting to know the language better.

Regards,
by ukimiku
Thu Oct 22, 2009 2:25 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: the formattedText of
Replies: 4
Views: 2578

the formattedText of

Hi Bernd, thanks for your alternative way of achieving the insertions. I understand your approach, but still do not understand why mine throws an error. I am new to Runtime, and I am trying to build a mental model of how the language concept is constructed. I know AppleScript and RealBasic, so I am ...
by ukimiku
Thu Oct 22, 2009 10:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: the formattedText of
Replies: 4
Views: 2578

the formattedText of

Dear Runtime users, I have worked through the "Working with text" tutorial. When it comes to inserting text, the following code snipped is provided: on mouseUp repeat with i = 1 to the number of lines in field "sample text" put "Some text. " before line i of field "sample text" end repeat end mouseU...

Go to advanced search