Control array

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

Control Array (mostly used in Visual Basic) is the collection of controls that programmer put it in form (VB Form). Control array is always a single dimensional array. Control array is that you can add or delete array elements at run-time. With some controls, it is very useful to define control arrays - it depends on the application.

Control arrays are a convenient way to handle groups of controls that perform a similar function. All of the events available to the single control are still available to the array of controls, the only difference being an argument indicating the index of the selected array element is passed to the event. Hence, instead of writing individual procedures for each control (i.e. not using control arrays), you only have to write one procedure for each array.

Personal tools

Served in 1.400 secs.