Mark Smith Guest
|
Posted: Fri Oct 22, 2004 3:32 pm Post subject: Same Instance of OCX Forms being used |
|
|
Hello,
Apologies if this quetion seems simple, but I've encountered an issue
which absolutely has me confused.
I have an ocx which is called from one part in my D6 MDI application.
And from another screen they can invoke the same OCX (therefore they
can both be open at the same time).
But I noticed that values in the one OCX form would be trasmitted to
the other. I have only noticed this when a pop-up window is created
inside the OCX and is displayed allowing th euser to enter
information. When the user goes to the first OCX, and opens the same
pop-up window, lo and behold the same value is there.
So my conslusion is that when creating an OCX it actually grabs the
existing one if available, and is manipluating the records which is
used when entering the field value in the popup window.
I hope I have made myself clear, as it is rather confusing to myself
at the moment.
Can anyone suggest how the Mian UserInterface can be modified to
create brand new instances? Or how I need to restructure my OCX,
internal pop-up forms, and records so that when they are created the
values are not fed back to the other instance?
Any help you can offer, would be grately appreciated...
Many Thanks
Mark
|
|