Locked, DropButtonStyle, ShowDropButtonWhen Properties Example
The following example demonstrates the different symbols that you can specify for a drop-down arrow in a ComboBox or TextBox. In this example, the user chooses a drop-down arrow style from a ComboBox. This example also uses the Locked property. To use this example, copy this sample code to the Declarations portion of a form. Make sure that the form contains:
- A ComboBox named ComboBox1.
- A Label named Label1.
- A TextBox named TextBox1 placed beneath Label1.
|