now how do i refer at run time which image is loaded on the scrollbar / frame ??? how can i retrieve that at run time ?? is there any command called getvalue something like tht associated with frame or scrollbar ???
I am not sure if I completely understand what you are asking but if you mean you want to get the bitmap that is in the window at run time you can just use the "self.obj" which is holding reference to the StaticBitmap in your below code.
Regards,
Cody Precord
···
On Feb 16, 2008, at 12:28 AM, Varsha Purohit wrote:
hello friends,
i have a an application where i am loading an image on a scrollbar that is created on a frame. I am loading that image like this...
now how do i refer at run time which image is loaded on the scrollbar / frame ??? how can i retrieve that at run time ?? is there any command called getvalue something like tht associated with frame or scrollbar ???
now how do i refer at run time which image is loaded on the
scrollbar / frame ??? how can i retrieve that at run time ?? is
there any command called getvalue something like tht associated
What’s not working? What are you trying to do? Explaining this would be helpful
Another stab in the dark, perhaps wx.StaticBitmap.GetBitmap (i.e self.obj.GetBitmap()) is what you are looking for to get the bitmap object held by the StaticBitmap?
···
On Feb 16, 2008, at 12:48 AM, Varsha Purohit wrote:
No unfortunately its not working that’s y i am confused how to retrieve which image is on the frame at run time…
I am not sure if I completely understand what you are asking but if
you mean you want to get the bitmap that is in the window at run time
you can just use the “self.obj” which is holding reference to the
StaticBitmap in your below code.
Regards,
Cody Precord
On Feb 16, 2008, at 12:28 AM, Varsha Purohit wrote:
hello friends,
i have a an application where i am loading an image on a
scrollbar that is created on a frame. I am loading that image like
this…
now how do i refer at run time which image is loaded on the
scrollbar / frame ??? how can i retrieve that at run time ?? is
there any command called getvalue something like tht associated
with frame or scrollbar ???
What’s not working? What are you trying to do? Explaining this would be helpful
Another stab in the dark, perhaps wx.StaticBitmap.GetBitmap (i.e self.obj.GetBitmap()) is what you are looking for to get the bitmap object held by the StaticBitmap?
On Feb 16, 2008, at 12:48 AM, Varsha Purohit wrote:
No unfortunately its not working that’s y i am confused how to retrieve which image is on the frame at run time…
I am not sure if I completely understand what you are asking but if
you mean you want to get the bitmap that is in the window at run time
you can just use the “self.obj” which is holding reference to the
StaticBitmap in your below code.
Regards,
Cody Precord
On Feb 16, 2008, at 12:28 AM, Varsha Purohit wrote:
hello friends,
i have a an application where i am loading an image on a
scrollbar that is created on a frame. I am loading that image like
this…
now how do i refer at run time which image is loaded on the
scrollbar / frame ??? how can i retrieve that at run time ?? is
there any command called getvalue something like tht associated
with frame or scrollbar ???
What’s not working? What are you trying to do? Explaining this would be helpful
Another stab in the dark, perhaps wx.StaticBitmap.GetBitmap (i.e self.obj.GetBitmap()) is what you are looking for to get the bitmap object held by the StaticBitmap?
On Feb 16, 2008, at 12:48 AM, Varsha Purohit wrote:
No unfortunately its not working that’s y i am confused how to retrieve which image is on the frame at run time…
I am not sure if I completely understand what you are asking but if
you mean you want to get the bitmap that is in the window at run time
you can just use the “self.obj” which is holding reference to the
StaticBitmap in your below code.
Regards,
Cody Precord
On Feb 16, 2008, at 12:28 AM, Varsha Purohit wrote:
hello friends,
i have a an application where i am loading an image on a
scrollbar that is created on a frame. I am loading that image like
this…
now how do i refer at run time which image is loaded on the
scrollbar / frame ??? how can i retrieve that at run time ?? is
there any command called getvalue something like tht associated
with frame or scrollbar ???