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:
00011566
Views:
33
>Hi Kim,
>
>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,

Come on :)! Kim could have used == and he would have had the
'expected behaviour' no matter how exact was set. If MS is
listening, there are more urgent things that require their
attention. (s)

Regards,

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform