This project is read-only.

GDI+ issue with large imgcanvas width and height

Topics: Bug Information, Enhancement Request
Nov 10, 2010 at 12:37 PM


Language: Visual Foxpro 9

I have an image canvas that i included in a scrollbar container (ctl32_container) and the image canvas a huge width (10,000) pixel and a height (3500) pixel. If i specify the Render mode of the imgcanvas as 0 it crashes and gives me 'String too long to fit' error. If i specify the Render mode to 4 it works fine but it is too slow. Every time the imgcanvas is rendered it takes a couple of seconds to show.

Is there a way to have a scroll bar to the imgcanvas even though it has a LARGE width and height? OR can we pan the imgcanvas i.e with the mouse to be able to move the imgcanvas left and right top and bottom?




Nov 18, 2010 at 1:53 AM

Hi Nazha,

The image canvas does not bring the functionality you are asking for. Are you using VFP9SP2?

Nov 18, 2010 at 8:53 AM

Yes i am using VFP9 SP2 but i thought maybe there is a workaround for this issue.. i guess not!