Forums Register Login
Panel --
Hi all,
3 urgent questions, do help pls
first question:
There is a large image in a scrollPane, how can i know which part is displayed to user? for example, the part from pixel(10,10) to (610,810)is shown in screen, how can i know it??
second question:
if user is watching a "flower" in the center of the panel, once user presses the zoom out button, the whole image will be amplified. How can i make sure the "flower" still be shown in the center, won't go to right-down coner of the panel.
third question:
If i wanna the part from pixel(400,400) to (500,500) to be in the center of the panel, how can it do it??

thanks in advance
thanks in advacne
A timing clock, fuse wire, high explosives and a tiny ad:
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 518 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 18, 2018 01:01:49.