Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'=' in a label
Message
De
05/11/1997 12:45:55
 
 
À
05/11/1997 12:28:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00058394
Message ID:
00058420
Vues:
34
>>>>I need the '=' sign on one of my reports, and filling a label's caption property with just = returns a syntax error. Same thing with a textbox whose value is set to =. Workaround please?
>>>
>>>Is it report or form?
>>
>>Sorry. It's a form.
>
>Then do it programmatically, e.g.
>*** Label.Init event
>This.Caption="=qwerty"

If you using the property sheet, use ="=". The first '=' tells the property sheet that the value is an expression that should be evaluated. This is also the way you would initilize a property to a date type: ={}

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform