Public o o = Createobject("myclass") Define Class myclass as Custom Procedure SetFormat(myparameter1 as String,myparameter2 as Integer) ? myparameter1,myparameter2 Endproc Procedure SetSomething(myparameter1 as String,myparameter2 as Integer) ? myparameter1,myparameter2 Endproc EnddefineNow, in the command window or in anyplace of my class or my project if I tried to do this :
o.SetFormat( && the intellisense shows in light yellow eformat as parameter listif I do this
o.SetSomething( && the intellisense shows my correct parameter list
I had found that there is SetFormat method in vfp (mark SetFormat and press F1)