Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPlusX ImageCanvas and resizing
Message
From
21/01/2008 02:54:11
 
 
To
19/01/2008 17:30:59
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01283320
Message ID:
01283539
Views:
11
>Dear All,
>
>I need to resize ImageCanvas at run time. When I reset nHeight/nWidth ;
>resize event fires, and then draw method immediately fires twice (or 3 times). (No anchoring is used)

I think I got it now ...
ImageCanvas binds resize event to a immediate parent object which I was also resizing programmatically along with ImageCanvas.

That is how I got 'Draw' of image canvas (caled from resize) to fire 3 times
and slow whole thing down.
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform