Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug when assigning non-integers to Top,Left,Height and W
Message
De
03/12/2003 12:21:09
 
 
À
03/12/2003 11:45:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00855459
Message ID:
00855495
Vues:
12
Hi Gregory,

this is not a bug, but a issue, and occur only for not visualizable memory object, when VFP see a not integer value, it interprets the value like a foxel, and uses a coefficient correlated with _ screen configuration.
x=CREATEOBJECT("line")
_screen.FontSize = 8
x.top = 180
?x.top ,x.Top/180

x.top = 180.0
?x.Top,x.Top/180.0

x.Top = 180.1
?x.Top, x.Top/180.1

_screen.FontSize = 16
x.top = 180
?x.top ,x.Top/180

x.top = 180.0
?x.Top,x.Top/180.0

x.Top = 180.1
?x.Top , x.Top/180.1
Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform