Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From VFP, what exactly is a Collection from a COM object
Message
De
28/02/2000 19:17:23
 
 
À
28/02/2000 15:32:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00338642
Message ID:
00338789
Vues:
13
>* For the ASP Request Object passed as param to a COM Server
>cVal = oObj.form("txtBox").Item()


oObj = createobject("myform")
cVal = oObj.form("txtBox").Item()
wait window cVal

define class myform as custom olepublic
dimension form[1]
add object txtBox as mytext
function form_access(nIndex1)
	return evaluate("this." + nIndex1)
endfunc
enddefine

define class mytext as custom olepublic
function item
	return "Hello world."
endfunc
enddefine
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform