Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug when assigning non-integers to Top,Left,Height and W
Message
From
03/12/2003 19:59:04
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00855459
Message ID:
00855685
Views:
16
>>Does it really make sense to assign top and left without a container in which to display a line?
>
>Hi Lisa,
>
>The reason it caused an issue in an app I'm involved in was that due to the fact that certain classes used to instantiate faster than others (line in particular used to be one of the fastest), Line was used as the basis for a class heirarchy.

How about adding an _Access/_Assign method that multiplies the value coming in by 10 and makes it integer, then divide the value by 10 in the access... this should allow for this. You could also have a property that specifies the number of decimals that are stored and add that to the equation.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform