Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GdiPlusX - ImageCanvas
Message
De
26/11/2007 02:09:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Titre:
GdiPlusX - ImageCanvas
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01271183
Message ID:
01271183
Vues:
107
Dear All,

Is there any way to draw on ImageCanvas class without using it's 'BeforeDraw' method ?

What would suit my needs, would be to simply grab reference to ImageCanvas graphics object and then do the drawings and other graphic operations from some place else (my prg based classes for instance).

So I have done exactly that;
I took one of GdiPlusX form samples and simply moved code from BeforeDraw method to a dummy button / click. (I just adjusted object hierarchy)

There is no error flushing but I cannot see drawings unless ;

A) crush method at the end (that accidentally showed me that drawing actually works from click as well!)
B) resize form manually.

So what am I missing here ?


Collecting peaces of GdiPlus puzzle;
There was FoxTalk article by Craig Boyd that I saw sometime
'...Resoving Paint problem' in title. I found few links
to that article but none of them worked. Looks like
article has been moved some place else. Aayone has copy of it saved somewhere or workable link to it.?




TIA
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform