|
|
 |
Ditte$2007039 Ditte 04/04/2007 :: 12:29
Registered
| | Hi, if I send the SetZoomWidth the adjust zoom to width of the image. It´s fine. If the loaded image is bigger as the image on screen the VSrollbarposition will be center on screen. I must scroll up to see the header. I can send the SetVScrollBarPosition 0. The image will be loaded V-Center and post SetVScrollBarPosition 0, the screen will be flickering. Is there a possibility to say , that the new image will have the VScrollBarPosition = 0.
Regards Dittmar | |
 |
Loïc$2006306 Loïc 04/06/2007 :: 11:34
Registered
| | Hi,
You can try something like this:
oGdViewer.LockScreen = True oGdViewer.DisplayFromFile ("c:\test.jpg") oGdViewer.SetVScrollBarPosition (0) oGdViewer.LockScreen = False oGdViewer.Redraw
Best regards,
Loïc Carrère | |
 |
Ditte$2007039 Ditte 04/07/2007 :: 13:27
Registered
| | Hi Loïc,
thank you, It´s the solution. Happy Easter!
Regards Dittmar
| |