Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1733
Message
De
29/05/2019 14:58:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
29/05/2019 13:04:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
01668856
Message ID:
01668859
Vues:
65
>Both fs_frmmaintenance and fs_Header are classes in the same classlib (vcx) file.
>fs_frmMaintenance errors and fs_Header1 not and is created.
>NewObject, to my opion requires newobject(cObjectName, cClassname) and not the cClassLibraryName, VFP will look in the loaded classlibraries (VCX) files for the Class = 2ndParameter.

You're right, the classlibrary parameter is optional, and the help claims it defaults to .vcx - thought I could swear I saw it find a .prg in a project (or on the set("path") perhaps) and not a .vcx when extension was omitted, but then my memory isn't as I remember it.

So we're back at square one. In cases like this, I'd just go to class browser and copy-paste the name of the class from it into the code, because my eyes also fail me sometimes and the obvious typo isn't.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform