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: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Use Image control to view a large jpeg? - Solved

Post by DR White »

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: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Use Image control to view a large jpeg?

Post by Klaus »

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: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Use Image control to view a large jpeg?

Post by DR White »

That works great! :D

Thanks,

Klaus
stam
Posts: 3214
Joined: Sun Jun 04, 2006 9:39 pm

Re: Use Image control to view a large jpeg?

Post by stam »

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