Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ole bound object automatically resizing in Paintbrush

Status
Not open for further replies.

randallJ

IS-IT--Management
Aug 15, 2000
90
GB
I am using an ole bound object to display bmps on a form and then save them to a general field within a table. When I call up the bmp the image size displayed is as it should be. If I double click on the image and go into Paintbrush the image is huge and when I exit Paintbrush it remains huge. Is it possible for me to edit the picture in paintbrush without it automatically resizing the image.

object properties are:
Autosize= .f.
sizeable=.f.
Stretch =clip

I have also tried all the possible combinations of the above properties.

Thanks in advance [sig][/sig]
 
randallJ

As an alternative you could use an Image control and store the path\filename in your table instead.

You could then call up any graphics editor in the .DblClick event of the image control through a WinAPI call.

(There is also a FAQ on this site explaining how you can make an Image control scale and scroll)

If you would like the WinAPI call code, (it ensures the user closes the graphics editor before returning to FoxPro), let me know at support@lithoplas.com.

Chris [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top