Type | Description | |||
AppearanceEnum | A AppearanceEnum expression that indicates the type of the border of the drop down portion of the control ( where the list/tree is displayed ), , or a color expression whose last 7 bits in the high significant byte of the value indicates the index of the skin in the Appearance collection, being displayed as list's borders. For instance, if the DropDownBorder = 0x2000000, indicates that the second skin object in the Appearance collection defines the list's border. The Client object in the skin, defines the client area of the drop down portion of the control. For instance, the list or tree, scrollbars are always displayed in the client area. The skin may contain transparent objects, and so you can define round corners for your drop down portion of the control. The normal.ebn file contains such of objects. Use the eXButton's Skin builder to view or change this file. |
The DropDownBorder property defines the borders of the drop down portion of the control. Use the Appearance property to change the control's appearance. Use the HeaderAppearance property to change the control's header bar appearance. Use the Style property to specify the control's style. Use the Add method to add new skins to the control. Use the BackColor property to change the control's background color.
The following screen show shows the drop down portion of the control before running the sample:
The following screen show shows the drop down portion of the control when the normal.ebn is applied to DropDownBorder property, as shown in the following samples:
The following VB sample changes the visual aspect of the borders of the drop down portion of the control:
With ComboBox1 .BeginUpdate .VisualAppearance.Add &H16, "c:\temp\normal.ebn" .DropDownBorder = &H16000000 .EndUpdate End With
The following VB.NET sample changes the visual aspect of the borders of the drop down portion of the control:
With AxComboBox1 .BeginUpdate() .VisualAppearance.Add(&H16, "c:\temp\normal.ebn") .DropDownBorder = &H16000000 .EndUpdate() End With
The following C# sample changes the visual aspect of the borders of the drop down portion of the control:
axComboBox1.BeginUpdate(); axComboBox1.VisualAppearance.Add(0x16, "c:\\temp\\normal.ebn"); axComboBox1.DropDownBorder = (EXCOMBOBOXLib.AppearanceEnum)0x16000000; axComboBox1.EndUpdate();
The following C++ sample changes the visual aspect of the borders of the drop down portion of the control:
m_comboBox.BeginUpdate(); m_comboBox.GetVisualAppearance().Add( 0x16, COleVariant( "c:\\temp\\normal.ebn" ) ); m_comboBox.SetDropDownBorder( 0x16000000 ); m_comboBox.EndUpdate();
The following VFP sample changes the visual aspect of the borders of the drop down portion of the control:
with thisform.ComboBox1 .BeginUpdate .VisualAppearance.Add(0x16, "c:\temp\normal.ebn") .DropDownBorder = 0x16000000 .EndUpdate endwith