Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GdiPlusX - ImageCanvas
Message
From
26/11/2007 05:38:15
 
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01271183
Message ID:
01271192
Views:
42
>Hi,
>
>>There is no error flushing but I cannot see drawings unless ;
>
>You need to call the Draw() method of the ImgCanvas object. This will trigger the BeforeDraw method. If you don't want to put any code into the BeforeDraw method, you can use BindEvent() to link it to another method.

Hi Cristof,
I added that call and it did the trick!
BTW I did not do any binding; code that do drawings is all in click method of a dummy button but it uses ImageCanvas.graphics object to do the drawings.

Perhaps there will be no problem to do drawing in prg using canvas/graphics object references and then simply call ImageCanvas.draw as you pointed out.

Thks+++
*****************
Srdjan Djordjevic
Limassol, Cyprus

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

Click here to load this message in the networking platform