Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object browser parameter
Message
De
21/06/2001 09:19:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00521730
Message ID:
00521861
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform