Yes! It works! Thanks a lot, Michele, you did a great job!  

James


From:  Michele Petrazzo <[EMAIL PROTECTED]>
To:  James HU <[EMAIL PROTECTED]>
CC:  [email protected]
Subject:  Re: [Image-SIG] drag/move image from staticBitmap control
Date:  Wed, 09 Nov 2005 18:44:22 +0100
>James HU wrote:
>>Hi, Michele,
>>
>>I use your ImgView as scrollwindow embedded on my panel, which also
>>has some controls like checkbox, and some buttons. It looks like I
>>almost there, the image is there, I can see it on the small window
>>in
>>panel! but the scroll on horizontal or vertical is not there.
>>
>>attached is my test codes, if you got time, is it possible to help
>>me
>>a little more?
>>
>
>
>add this line: self.scrolledWindow1.Zoom(+0)
>after self.scrolledWindow1.SetImage('imgtest.jpg')
>
>and delete this line in imgview
>self.GetParent().SetStatusText( str(zoom_percent) + "%" )
>and enjoy!
>
>P.s. You code didn't work because there are some problems at
>scrolledwindows1 definition. This seen to work:
>self.scrolledWindow1 = ImgView(parent=self, pos=wx.Point(256, 96),
>               size=wx.Size(320,280))
>
>P.s.2: Please use the default "channels" (mailing list), so other
>users
>can read and enjoy with this modifies/code
>
>>I really appreciate your help!
>>
>>James
>
>
>Bye,
>Michele
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to