Control array (original) (raw)

Property Value
dbo:abstract In Visual Basic, a control array is a group of related controls in a Visual Basic form that share the same event handlers. Control arrays are always single-dimensional arrays, and controls can be added or deleted from control arrays at runtime. One application of control arrays is to hold menu items, as the shared event handler can be used for code common to all of the menu items in the control array. 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. Control arrays are no longer supported in Visual Basic 2006, as "changes to the event model" made them unnecessary. The Visual Basic Upgrade Wizard can convert code that uses control arrays into Visual Basic 2008 code that uses more recent structures. (en)
dbo:wikiPageID 25887451 (xsd:integer)
dbo:wikiPageLength 1925 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID 1083413531 (xsd:integer)
dbo:wikiPageWikiLink dbr:Widget_(GUI) dbr:Form_(programming) dbr:Array_data_structure dbc:BASIC_programming_language_family dbr:Visual_Basic dbr:Event_(computing)
dbp:wikiPageUsesTemplate dbt:Reflist dbt:Programming-software-stub
dcterms:subject dbc:BASIC_programming_language_family
gold:hypernym dbr:Group
rdf:type dbo:Band
rdfs:comment In Visual Basic, a control array is a group of related controls in a Visual Basic form that share the same event handlers. Control arrays are always single-dimensional arrays, and controls can be added or deleted from control arrays at runtime. One application of control arrays is to hold menu items, as the shared event handler can be used for code common to all of the menu items in the control array. (en)
rdfs:label Control array (en)
owl:sameAs freebase:Control array wikidata:Control array https://global.dbpedia.org/id/4iQ45
prov:wasDerivedFrom wikipedia-en:Control_array?oldid=1083413531&ns=0
foaf:isPrimaryTopicOf wikipedia-en:Control_array
is dbo:wikiPageWikiLink of dbr:Visual_Basic_(classic)
is foaf:primaryTopic of wikipedia-en:Control_array