Well, continuing my monolog: *I* can easily catch the error, cuz the whole thing is dead simple, but it could become a problem with multiple inheritance,...
I localized it a bit more: In the form I got a container with three textboxes, .Enabled=.f., controlSource="dsbld(1)", (2) and (3).
There´s a textbox, .Enabled=.f., controlSource="dsbld(4)", NOT in a container.
If I remove the container the error is gone. As well when I Watch dsbld. Where upon inspection dsbld is properly initialized, dsbld is A, all items are C.
Generated class code doesn´t show any anomalies. One thing I don´t understand thou:
ADD OBJECT cntdsblds AS cntmydsblds WITH ;
Top = 0, ;
Left = 0, ;
TabIndex = 4, ;
Name = "cntDsblds", ;
txtDsbld1.DefWidth = "", ;
txtDsbld1.Name = "txtDsbld1", ;
txtDsbld2.DefWidth = "", ;
txtDsbld2.Name = "txtDsbld2", ;
What´s DefWidth? And why are there no Add Objects for the txtDsbld1,... in the generated class code.
cntMyDsblds and txtMyDsbld are in different files where the first is Added. Is this a problem?
Thx
G