Displaying a jpg photo larger than my liveCode window ?

Brahmanathaswami brahma at hindu.org
Fri Jun 19 21:36:38 EDT 2015


Aloha from beautiful Kauai

Why can't  "grab" server you needs?

# put into the script of the image itself

# I typically will store this as a custom property and then add it to 
new images on import or one open card


# main dish:
     on mouseDown
           grab Me
          set the cursor to hand
     end mouseDown

# add toppings as desired

   on mousewithin
    set the tooltip of me to "click, drag to view"
   end mousewithin




Swasti Astu, Be Well!
Brahmanathaswami

Kauai's Hindu Monastery
www.HimalayanAcademy.com



Francis Nugent Dixon wrote:
> Hi from Beautiful Brittany,
>
> I have a tiny problem (otherwise I wouldn’t ask for help) !
> I have a stack window of a reasonable size, but I want to
> display a jpg (or other) file in this window, but it is much
> larger. I want to be able to “click and slide” on my displayed
> photo, in much the same way as you do with a Google map,
> so I can see any part of the large photo within my LiveCode
> window..
>
> And I don’t even know where to start ….
>
> Any help gratefully received.
>
> -Francis




More information about the Use-livecode mailing list