Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug when assigning non-integers to Top,Left,Height and W
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00855459
Message ID:
00856014
Vues:
15
I am familiar with that practice <s>.

I was just explaining that I think what you're seeing has a cause we can probably guess at.

Basically, top and left have to be calculated in a a way that is relative to the parent container. When there are fractions involved in the calculations, obviously some extra calculation has to be done. This extra calculation would have to be not only relative to the container but also take its scalemode into account. You can't position something at a fractional pixel (I think you can in foxels, but frankly I can't even remember how this works!!).

So, you see what I'm driving at here?

>L<
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform