I have just migrated our V9 application to V10. I have done no manual modifications as yet to the code, and am relying on the migration path.
In V9, I have a contained form (which enforces non-modal, attached), which is instantiated using newinstance and assigned to the valrep of a tab widget. Inside this form I use $instanceparent to refer to the instancename of the component with the tab widget on it.
In V10, The "Is independant form" value is N and the window properties show as contained, non-modal, attached. However, at run time the value of $instanceparent is empty and trying to :-
activate $instanceparent.operation()
returns -57 instance not known.
This obviously throws a large spanner in inter component communication.
Anyone know of a migration issue or similar which would cause this?
Looking at the $detachedinstances, and their children shows that the parent program is 'correctly' attached to several components, but several others it SHOULD be attached to show as detached.
The components are all started with a simple newinstance "COMPONENTNAME", Variable where variable is empty and the instancenames are generated. There is no modifier to the newinstance.
Help...
Iain