[Logo]
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
dejie
thanks in advacne
dejie
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 17, 2017 20:11:04.