Ever want a note to show to someone who subclasses your class when they start to override a method?
Sure, you can put a note that shows in the properties window description box, but here's another way:
Just define the parameters to the method like this:
It seems that some versions of VFP remove the semicolon and combine it all onto one line, but otherwise, it works great!
( just beware of (don't do) this:
because the first line doesn't end with ";" (even though it contains it) VFP doesn't properly continue to import the next line for the subclass, and you only see the first line)
- Bill
Get the best answers to your questions -- See FAQ481-4875.
Sure, you can put a note that shows in the properties window description box, but here's another way:
Just define the parameters to the method like this:
Code:
LPARAMETERS tvParam1, tvParam1 ;
&& Use tvParam1 for something ;
&& but use tvParam2 for something else
It seems that some versions of VFP remove the semicolon and combine it all onto one line, but otherwise, it works great!
( just beware of (don't do) this:
Code:
LPARAMETERS plVerifyAgain, ; && param 1
pvParm2 && Param 2
- Bill
Get the best answers to your questions -- See FAQ481-4875.