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 19:59:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00855459
Message ID:
00855685
Vues:
15
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform