Q: Regarding MDI and the reuse of controls and code 
Author Message
 Q: Regarding MDI and the reuse of controls and code

I'm sure this is an easy one for you gurus out there

When a VB app creates a new instance of an MDI child form, does it
reuse the code and controls or load new instances of everything?

I would like to use Formula1 OCX but am a bit concerned that 1mb of
OCX code will get loaded for each MDI child.

I suppose a further question would be, is it best to code for reuse
and store my code in a module, or is it just as efficient to go the
easy way and leave the code in the MDI child?

Thanks

Mike
(remove *'s if replying by email)



Sat, 25 Mar 2000 03:00:00 GMT  
 Q: Regarding MDI and the reuse of controls and code

the controls really do not get loaded into forms, so don't worry



Quote:
> I'm sure this is an easy one for you gurus out there

> When a VB app creates a new instance of an MDI child form, does it
> reuse the code and controls or load new instances of everything?

> I would like to use Formula1 OCX but am a bit concerned that 1mb of
> OCX code will get loaded for each MDI child.

> I suppose a further question would be, is it best to code for reuse
> and store my code in a module, or is it just as efficient to go the
> easy way and leave the code in the MDI child?

> Thanks

> Mike
> (remove *'s if replying by email)



Sun, 26 Mar 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. need help regarding scroll bar in mdi and mdi child form

2. Reusing ActiveX Control/Code in Win GUI/MSIE

3. How do I reuse code in the Code-Behind section of an ASPX page

4. How to reuse code in Access ?

5. Reuse of Code OCX?

6. handling event from control qs

7. Reuse code problem

8. Warning- careful when reusing code

9. Code ReUse Tip

10. 2 Qs: ODBC DSNs; ListView control

11. Question regarding MDI

12. code reuse

 

 
Powered by phpBB® Forum Software