|
|
 |
cliebl2$2007106 cliebl2 04/24/2007 :: 23:31
Registered
| | I don't know if I'm doing this right or if there is a better way. This is what I currently have: gdviewer1.SetZoomWidth gdviewer1.DisplayFromFile(myImage) gdviewer1.setHScrollBarPosition(0) gdviewer1.setHScrollBarPosition(0)
What's happening though is you see the image come up and then it bounce around to show the top left corner of the image (which is what I want to show). How can I get it so it doesn't flash once showing the image and then you see it move the scrollbars up? | |
 |
Loïc$2006306 Loïc 04/25/2007 :: 11:16
Registered
| | Hi,
You can try that:
gdviewer1.SetZoomWidth gdviewer1.LockScreen = True gdviewer1.DisplayFromFile(myImage) gdviewer1.SetHVScrollBarPosition(0,0) gdviewer1.LockScreen = False gdviewer1.Redraw()
Regards,
Loïc | |
 |
cliebl2$2007106 cliebl2 04/25/2007 :: 17:49
Registered
| | Thanks so much for your help - that worked great!!
I'm about done with this project but have 1 more question to run by you. I used the normal gdviewer for all my testing and now we've purchased the GdViewer Pro OCX and I noticed a different control. It looks like things are fine but I want to verify that license would work for the original gdviewer.ocx and we shouldn't have any issues.
Thanks!! | |
 |
Loïc$2006306 Loïc 04/25/2007 :: 17:52
Registered
| | Yes,
Your GdViewer Pro license is available for the GdViewer Std. component too.
Best regards,
Loïc Carrère | |