Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Style Constant Changes in Visual Basic .NET

The following tables show the Visual Basic 6.0 Style constants and values and their Visual Basic .NET equivalents.

ComboBox Style Constants

Visual Basic 6.0Visual Basic .NET Equivalent
vbComboDropdown (0)System.Windows.Forms.ComboBoxStyle.DropDown
vbComboSimple (1)System.Windows.Forms.ComboBoxStyle.Simple
vbComboDropdownList (2)System.Windows.Forms.ComboBoxStyle.DropDownList

CheckBox and OptionButton Style Constants

Visual Basic 6.0Visual Basic .NET Equivalent
VbButtonStandard (0)System.Windows.Forms.Appearance.Normal
VbButtonGraphical (1)System.Windows.Forms.Appearance.Button
Note   In Visual Basic 6.0, Style constants were also defined for CommandButton and ListBox controls. There are no equivalents in Visual Basic .NET. For details, see Style Property Changes in Visual Basic .NET or ListBox Control Changes in Visual Basic .NET.| Constants and Enumerations

See Also

Constant Changes in Visual Basic .NET | ComboBox Control Changes in Visual Basic .NET | Constants and Enumerations

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.