![]() If one button in an array of button controls was clicked, the control's array subscript was passed to the event handler, which would determine which button had been clicked and take the required action for that button.įrom the programmer's point of view, the ability to create control arrays at design time by simply copying an existing control and pasting it onto the form as many times as required was an attractive feature of Visual Basic 6. Like other array variables, each member of a control array had an array subscript by which it could be referenced. In real terms, a control array was actually a collection of controls that could be programmed as an array thanks to some fairly complex behind-the-scenes code provided by Microsoft. Before VB.Net arrived in 2002, the highly popular Visual Basic 6 provided programmers with the ability to create what were known as control arrays. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |