Problems using ControlFindImageFile

Class library usage, coding and language questions.
vonBrabant
Posts: 15
Joined: Wed May 23, 2007 11:12 pm

Problems using ControlFindImageFile

Post by vonBrabant » Mon May 19, 2008 3:30 pm

I try to use ControlFindImageFile to find an image in a control.
Unfortunately I get back None, although the image should be there :-(

For debugging it would be very helpful if I somehow could extract (save to file) the image that is associated with a control. That means I'm looking for a function like ControlSaveImageFile.

Is there currently a way to get the image of a control ?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Problems using ControlFindImageFile

Post by Support Team » Tue May 20, 2008 11:20 am

Are you using a bitmap (.bmp) image file format with the ControlFindImageFile?
vonBrabant wrote:For debugging it would be very helpful if I somehow could extract (save to file) the image that is associated with a control. That means I'm looking for a function like ControlSaveImageFile.
Sorry, this is currently not supported. I added this feature to the wanted features list.

Regards,
Alex
Ranorex Support Team

vonBrabant
Posts: 15
Joined: Wed May 23, 2007 11:12 pm

Post by vonBrabant » Tue May 20, 2008 9:03 pm

Yes, I'm using a bmp file. I got it by making a screenshot of the control.
Would be nice if you could incorporate the function in version 1.5

vonBrabant