Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I do this with WITH THISFORM...ENDWITH?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00456855
Message ID:
00456976
Views:
24
>>>>>>>>>>>>
>Even if you do not call that function from withing a WITH/ENDWITH, you can use the .TextBox1.Value in any form method. There is an implicit ThisForm for any .Object that is outside a WITH/ENDWITH. I found that accidently and wondered why my code did not spawn an error.
>>>>>>>>>>>>
>
>Now, that's interesting! I knew what Barbara has mentioned but did not know this one.

Moreover, it works when you call it in the function like:

IF TYPE(".myProperty") = "C"
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform