Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Button caption gotcha
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00011561
Message ID:
00011564
Views:
29
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform