Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPlusX - ImageCanvas
Message
De
26/11/2007 05:38:15
 
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01271183
Message ID:
01271192
Vues:
41
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform