"Preview screen" button
John R. Brauer
drjohn at wellminds.org
Thu Aug 7 16:03:00 EDT 2003
Hello all,
I am trying to set up a button as a preview screen in the corner of a
window, so that when the cursor passes over an area of a map in the
window, a picture of the item that is represented in that area of the
map appears on the "preview screen" button. I have made an invisible
button that covers the area of the map that I am trying to show, and
have scripted it as follows:
on mouseenter
set the icon of button "PreviewButton" to image id 1392
set showIcon of button "PreviewButton" to true
end mouseenter
When I try to do this, it not only does not work, but the entire Rev
environment crashes immediately. Can anyone replicate this? And more
importantly, can anyone tell me what I am doing wrong?
Ideally, I would like this button in the corner of the window to show a
different image for whatever area of the map the cursor enters (the
program is for keeping track of a garden and its current plants).
Thank you.
Sincerely,
John R. Brauer
More information about the use-livecode
mailing list