property ComboBox.FilterBarFont as IFontDisp
Retrieves or sets the font for control's filter bar. /*not supported in the lite version*/

TypeDescription
IFontDisp A font object that indicates the font used to paint the description for control's filter

The FilterBarFont property defines the font in the filter bar area of the control. Use the Font property to change the control's font. Use the ItemFont property to assign a different font to an item. Use the CellFont property to assign a different font to the cell. You can change the control's font using options described here. Use the <b>, <s>, ... built-in HTML tags to display in bold, ... portions of text using the HTMLCaption property and CellCaption property as well. Use the DisplayFilterButton property to allow filter bar button in the column's header. If the FilterFor field is visible, the FilterBarFont property specifies the font being used on this field too.

The following VB sample changes the control's filter bar font:

With ComboBox1.FilterBarFont
    .Name = "Comic Sans MS"
    .Bold = True
End With

The following C++ sample changes the control's filter bar font:

#include "font.h"
COleFont font = m_combobox.GetFilterBarFont();
font.SetName("Comic Sans MS");
font.SetBold( TRUE );

The following VB.NET sample changes the control's filter bar font:

AxComboBox1.FilterBarFont = New System.Drawing.Font("Comic Sans MS", 10, FontStyle.Bold)

The following C# sample changes the control's filter bar font:

axComboBox1.FilterBarFont = new System.Drawing.Font("Comic Sans MS", 10, FontStyle.Bold);

The following VFP sample changes the control's filter bar font:

With thisform.ComboBox1.FilterBarFont
    .Name = "Comic Sans MS"
    .Bold = .t.
EndWith