Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Override method parameter
Message
De
26/10/2011 11:06:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Override method parameter
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01527418
Message ID:
01527418
Vues:
135
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform