Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I have a numeric column that is always right alignment :-(
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
I have a numeric column that is always right alignment :-(
Divers
Thread ID:
00632477
Message ID:
00632477
Vues:
54
I have one form with a Grade. I create the columns "on the fly". Take a look at this code:
With ThisForm.Grade
   .RecordSource = ""
   Select Field1, Field2, Field3 From MyTable Into Cursor MyCursor
   .RecordSource = "MyCursor"
   .Column1.ControlSource = "Field1"
   .Column1.InputMask = "999,999,999.99"
   .Column2.ControlSource = "Field2"
   .Column2.InputMask = "999,999"
   .Column3.ControlSource = "Field3"
   .Column3.InputMask = "999,999.99"
   .Column4.ControlSource = "Round(Field2 * Field3,2)"
   .Column4.InputMask = "999,999,999.99"
EndWith
All fields from MyTable are numeric.
The column 1, 2 and 3 is ok. It is right alignment. BUT the column 4 is left alignment.
I've already tried force the alignment (.Column.Alignment=1), but it didn't work.

Someone could help me?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform