Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias 'OFORMREF' is not found error?
Message
De
15/02/2006 11:22:38
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01096483
Message ID:
01096494
Vues:
14
Great, now I know it's in the cleanup section of my menus, like
oFormRef.cMenuName = m.cMenuName
I have a feeling that this is misleading, since the error seems to occur because some object on the form is not properly instantiated.

Would be nice if the message were 'Object MyObject failed to instantiate' or something to that effect.


>>It's happening as a result of createobject('myform'), and of course nothing gets created.
>>
>>Afaik, I have no oFormRef variable, so it's something within VFP or one of it's classes.
>>
>>All I get back is the error and the line, which is of no use at all, since it's the line with the createobject statement.
>
>You can use Code References tool to search your project for 'oFormRef'.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform