Section 9.1


[Page 624 (continued)]

Table C.2. List Box or Combo Box Name Changes

VB6

VB2005

List property

Items

AddItem method

Items.Add

RemoveItem method

Items.RemoveAt

Clear method

Items.Clear

Style property

DropDownStyle

ListIndex property

SelectedIndex


The default event procedure for list boxes and combo boxes has changed from Click in VB6 to SelectedItemChanged in VB2005.

In VB2005, list boxes no longer have an ItemData property.

The common dialog control from VB6, which was an amalgam of five controls, has been replaced in VB2005 by five individual controls.




An Introduction to Programming Using Visual Basic 2005
Introduction to Programming Using Visual Basic 2005, An (6th Edition)
ISBN: 0130306541
EAN: 2147483647
Year: 2006
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net