Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>This works for me. Where do you have this code. I put it in the activate of the form.
I put it in the Init(), since it will not move afterward.
My problem is that the text isn't centered on the form.
I noticed a strange behaviour: in design mode, when I enter the text in the caption field manually, the width of the label is 54.
If I put WAIT WINDOW Str(THISFORM.lblMessage.Width) after initializing the field with the same text, it give Width = 40.
So that's why the text isn't centered.
My question now: how come the width property at run time return a false information?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement