Control Array

Recommended Answers

All 4 Replies

Control array simply is a group of control that share the same name, same type, and same event procedures that increase flexibility of Visual Basic 6:

  1. Being share the same name and same event procedures allows VB6 programmer to reduce the amount of code.
  2. Able to create new element to control array at run-time.
  3. Consuming less resource than creating multiple regular controls.

i don't see and disadvantages.

Thanks, but what about Disadvantage?

Thanks, but what about Disadvantage?

I have not seen any significant disadvantages of using control array except it slightly increase difficulty in managing your controls. Moreover, control array is not applicable in every program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.