Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display minus in ()
Message
De
01/04/2014 12:44:00
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
01/04/2014 12:12:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01597872
Message ID:
01597901
Vues:
35
>I want to display -123 as (123)
>
>in the Form.init
>
>for -123 in
>
>
>ThisForm.pgfChild.Page1.grdchild.Column10.txtDisc.InputMask ="@(999"
>
>
>it will show @( -123
>
>
>ThisForm.pgfChild.Page1.grdchild.Column10.txtDisc.format ="@(999"
>
>
>it will show -123

.format="("
.inputmask="999"

IOW, the characters between @ and the space (which is missing in your case) is the general qualifier, and the 999 (or other such characters) is the so-called picture (from old picture clauses in @... say commands) and apply to individual character positions in the textbox.

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