-
Questions on class (VB6)
Hi guys, i created classes that wrap around common VB controls, such as textbox, maskedbox, etc.
if i create a new instance of the class i mentioned, will there be additional memory required, in addition to the memory required to the original VB control it wraps?
for example:
CTextBox <- my new class
somewhere in the code:
set CTextBox.Control = textbox1
will this mean that i double the memory required?
thanks!
-
If your wrapper has additional variables, etc. then it would take up more resources - as you are putting these into memory.