Use Image control to view a large jpeg? - Solved

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Use Image control to view a large jpeg? - Solved

Post by DR White » Mon Mar 29, 2021 3:03 pm

My stack is 1024 x 486.
My image is 4000 x 2000.

I want to be able to use sliders to see the large resolution.

How do I set up my image control?

I could not find much on image in the dictionary.

Thanks
Last edited by DR White on Mon Mar 29, 2021 4:42 pm, edited 1 time in total.

Klaus
Posts: 13824
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Use Image control to view a large jpeg?

Post by Klaus » Mon Mar 29, 2021 3:57 pm

Hi,

GROUP your image control, set the rect of that group to the desired dimensions
and check LOCKLOC, H- and VScrollbars for the group. If that is what you mean. :-)

Best

Klaus

DR White
Posts: 686
Joined: Fri Aug 23, 2013 12:29 pm
Location: Virginia, USA

Re: Use Image control to view a large jpeg?

Post by DR White » Mon Mar 29, 2021 4:42 pm

That works great! :D

Thanks,

Klaus

stam
Posts: 2679
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Use Image control to view a large jpeg?

Post by stam » Tue Mar 30, 2021 9:21 am

Klaus wrote:
Mon Mar 29, 2021 3:57 pm
Hi,

GROUP your image control, set the rect of that group to the desired dimensions
and check LOCKLOC, H- and VScrollbars for the group. If that is what you mean. :-)

Best

Klaus
I just wish this forum had a 'like' function -- thanks Klaus, you answered one of my unasked questions ;)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”