Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object browser parameter
Message
From
21/06/2001 09:19:33
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00521730
Message ID:
00521861
Views:
16
code is as follows

FOR i = 1 to ThisForm.lstSelected.ListCount
SEEK ThisForm.lstSelected.List(i)
lc_classname = ALLTRIM(rmgrobj.filename)
SET CLASSLIB TO (g_cWorkDir + lc_classname) ADDITIVE
bc.AddObject(lc_classname, lc_classname)

DO ObjBrowser WITH lc_ClassName && or another way I tried
DO ObjBrowser WITH bc.controls(i) && bc is the container


ENDFOR
That last line of code does not run because the object browser is looking for an object...and it says the para is no object.
as in

start up code from ObjBrowser.prg
LPARAMETER toObject
oObjInspect = CREATE("Objectinspectorform",toObject)
oObjInspect.Show()

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform