Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Override method parameter
Message
From
26/10/2011 11:06:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Override method parameter
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01527418
Message ID:
01527418
Views:
137
Hi

I am creating custom class in the project using class designer

here is simulator of it
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 
Enddefine 
Now, 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 list
if 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)

Is this public method? cannot I show my parameter list.

Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform