Results 1 to 2 of 2

Thread: Questions on class (VB6)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2002
    Posts
    19

    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!

  2. #2
    Fanatic Member VBCrazyCoder's Avatar
    Join Date
    Apr 2003
    Posts
    681
    If your wrapper has additional variables, etc. then it would take up more resources - as you are putting these into memory.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width