Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use THIS or THISFORM in Form?
Message
 
 
To
14/11/2002 11:55:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00722754
Message ID:
00722762
Views:
10
>When building new forms, I found myself repeating calls to business objects dropped on the form. About half of the calls were This.Bizobj.Somefunction() and the other half Thisform.Bizobj.Somefunction().
>
>In this instance, THIS and THISFORM were the same, so I'm wondering which would be the better to use, and why. Neither Help or HackFox 7 shed any light on this thought.

AFAIK should not be any difference. For maintenance THISFORM could be preferable, for less typing - THIS. But of course better to use the same notation in one method to avoid confusion.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform