Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Would like to end my affair with _MemberData
Message
De
23/01/2009 03:59:14
 
 
À
23/01/2009 01:06:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01374274
Message ID:
01376480
Vues:
21
>Hmmm --- for now, I don't know what else to ask.
>
>If these errors occur again, of course, see if you can replicate them.
>
>Thanks,
>
>Jim


Hi Jim

Regarding downward 'traveling' of the form
I noticed the same behaviour with one of my forms and narowed down problem to GdiPlusX (v 1.20)
It has to do with capturing of the screen region into bitmap

Problem can be reproduced using folowing code;

Make form with height higher then foxpro window
(height of 1500 pixels will do)
*Assuming gdiplusx is already initialised;

lnTitleHeight = sysmetric(9)
lnLeftBorder = sysmetric(3)
lnTopBorder = sysmetric(4)
local loCaptureBmp as xfcBitmap
loCaptureBmp = _screen.system.Drawing.bitmap.FromScreen(thisform.hwnd, thisform.left + lnLeftBorder , lnTitleHeight + thisform.Top + lnTopBorder , 300, 300 )
Funny part is that this is happening only on forms with bigger height. Will not show on small form let say 500px X 500px
but only if height of the form exceeds foxpro window.

Perhaps this post belong more to VFPx discussions, but I posted it here because problem I experienced ressembles very much
what Bhav described. Form travels down by height of foxpro titlebar + toolbar area + form title bar.

So if you are using some sort of form capturing with gdiPlusX within your PEM editor it might be related to this.

Perhaps it is a minor problem;
I am sure Cesar or Bo will fix it in no time ;)

HTH
Sergio



*****************
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