Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left zeros
Message
De
03/09/2007 09:59:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
02/09/2007 09:47:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01251899
Message ID:
01251961
Vues:
13
>>How can I put zeros at left side of a field in a grid ?
>
>You must use a spinner or a text box as the field control.
>In the format property of that control you must do something like:
>
>    form1.grid1.column1.text1.format = "LLLL.LL"
>    form1.grid1.column1.text1.inputmask = "9999.99"
>
>
>Of course you can do that visualy, but you got the idea...
>
>But this will not put the value 0004.56 at the table field, the table will hold 4.56 as usual, but when this value is displayed in the grid, it will be seen like 0004.56.
>
>Note: the ControlSource property must be of numeric type in order to the format clause LLLL.LL work.

Actually, just one L in the .format should do.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform