Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Button caption gotcha
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00011561
Message ID:
00011564
Vues:
35
Hi Kim,
>
>The interesting thing is that *IF THIS.Caption = "Add"*
>is evaulating to .T.,
>even when the Caption is "Add Edging".
>

This is because the default behavior of string comparations
in FoxPro. You will have to issue a SET EXACT ON before
the comparation; or even reversing it to IF "Add" = THIS.Caption
will do what u want. I agree with u that this kind
of behavior usually have more drawbacks than beneficts...
hope there is a MS guy still round here listening :)

Ciao,

J. Luis
J. Luis Santiago Rodríguez.• CADIS • E-mail: jlsantiago@iserve.net.mx• Ciudad de México.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform