|
-
Oct 6th, 2006, 05:47 PM
#1
Thread Starter
Fanatic Member
keeping reference between class instances and my child forms in MDI environnment
Hi guys,
1/ I have an MDI form where I open from a toolbar button instances of fAccount form: fAccount1, fAccount2 linked to the objects oAccount1, oAccount2.....
also I have a toolbar button in the MDI parent form, that I click and it opens Memos forms: fMemo1,fMemo2..... Each fMemoN is linked to oMemoN and to fAccountN and to oAccountN.
Like this:
fAccount3 is linked to oAccount3 and oMemo3 belongs to oAccount3
the fMemoN form is linked to oMemoN object instance that s linked to one specific instance of fAccount.
My question: from the MDI parent form: how do I keep refernce between all the instances .
The purpose: when I have a specefic instance of fAccount form active, I can open its related oMemo object and not an oMemo object that belongs to another fAccount
P.S sorry if what I wrote doesn t make sense.
Thanks guys.
--------------------------------------------------------------------------------
R.tutus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|