Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug when assigning non-integers to Top,Left,Height and Width
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Bug when assigning non-integers to Top,Left,Height and Width
Miscellaneous
Thread ID:
00855459
Message ID:
00855459
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform