Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug when assigning non-integers to Top,Left,Height and Width
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Bug when assigning non-integers to Top,Left,Height and Width
Divers
Thread ID:
00855459
Message ID:
00855459
Vues:
51
When assigning values to Top, Left, Height and Width properties, be careful not to use numbers with a decimal point: no error is raised, but the value of these properties changes....

x=CREATEOBJECT("line")
x.Top = 180
?x.Top && shows 180
x.Top = 180.00
?x.Top && shows 2880

I have tested this bug under VFP 7 and 8
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform