Maximum number of controls on a form

Question:
VB limits the number of controls on a form to 255. How do you get around this without dynamically creating and displaying them or frames that contain them? Basically, is there a way to “break the barrier” of 255 max controls per form?

Answer:
Try using the Windowless controls (MSWLESS.OCX) that shipped with VB6. Since they don’t have a window handle, they consume less memory.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: