Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object class is invalid for this container
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00890965
Message ID:
00891154
Vues:
19
>Are you doing these deletes from the form designer or are you just USEing the scx and
>deleting rows?

>For a form that is erroring out on you, USE TheForm and goto the recno indicated in
>the error dialog and post back the values for that row's class, classloc, baseclass,
>objname and parent.

The deletions were all done from within the form designer. I have browsed the .scx
file opened with USE, and the contents of the memo fields you describe appear
kosher, correct names, etc. There does appear to be common thread, though, and that is a label object seems to always be imlicated, e.g. right now in the most recently corrupted .scx:
class = udclabel
classloc = ..\..\..\stds\classes\udc_classes.vcx
baseclass = label
objname = Udclabel6
parent = FRMRECRUITDATA.pgfRecruitQuest.pagPage1
properties =
FontBold = .T.
Caption = "Recruiter"
Left = 3
Top = 2
TabIndex = 1
Name = "Udclabel6"
So I am wondering if somehow there a problem with the subclassing of the label
class as udcclass (the udc is my prefix to indicate a user defined class).

But of course there are labels everywhere on every form and page in my apps. It
is also curious and coincidental, however, that "udclabel6" always seems to
be the object referenced when this occurs, not some other label. I wonder if
there could be a conflict if on multiple pages multiple instances of the same
named label are somehow colliding? But there again, I have that in forms and
have had for ages, since moving to VFP 6.0 years ago when it came out.

This is so serious I am thinking about calling our central computing unit,
and having them open me an incident with Microsoft, a benefit I have taken
advantage of before on serious issues with some success when warranted with
out servers.

You have all been there: major project, deadline, contentious customer, so
naturally some technical glitch pops up you haven't run into before. I
love this job! I just discovered a new word to cover the animosity of
inanimate things towards us that covers this:
resistentialism (ri-zis-TEN-shul-iz-um) noun
The theory that inanimate objects demonstrate hostile behavior against us.
Ronald D. Edge
Retired from Indiana University Mar 1, 2011

"You've got to be very careful if you don't know where you are going,
because you might not get there."
“When you come to the fork in the road, take it.”
--Yogi Berra
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform