Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From VFP, what exactly is a Collection from a COM object
Message
From
28/02/2000 19:17:23
 
 
To
28/02/2000 15:32:46
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00338642
Message ID:
00338789
Views:
12
>* 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
Previous
Reply
Map
View

Click here to load this message in the networking platform