Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: Anchor vertical center with odd height
Message
 
 
À
08/03/2005 07:49:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00993310
Message ID:
00993584
Vues:
16
>>It's not a bug. Your assumption that shape is centered horizontaly from the beginning is incorrect.
>
>Where I have written this ???????

DEBUGOUT "start centered", ...

>
>>The shape center is one pixel closer to the top border of the form than to the bottom.
>
>Sergey, please,
>run the code with NNHEIGHT 1, 2 and 3, 4
>With 2 it is ok,
>with 1 it is not moved
>with 3 it is moved to a incorrect position
>with 4 it is correct
>......

It's moved to the correct position according to Anchor = 512 and original position of the shape center. The problem is that center of the shape with odd height is 1 pixel closer to it's top border than the bottom one.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform