property Panel.Italic as Boolean
Specifies whether the text in the panel appears in italic.

TypeDescription
Boolean A Boolean expression that specifies whether the caption of the panel should be shown in italic.
Use the Italic property to show the panel's caption in italic. Use the Text property to assign a caption or an HTML text to a panel. Use the <i> HTML tag to show in italic only a portion of the caption in the panel. Use the Bold property to show the panel's caption in bold. Use the Underline property to underline the panel's caption. Use the StrikeOut property to show the panel's caption in strikeout.

The following VB sample shows "How can I show in italic a specified panel":

With StatusBar1
	.BeginUpdate 
	.VisualAppearance.Add 4,"c:\exontrol\images\border.ebn"
	.VisualAppearance.Add 5,"CP:4 1 1 -1 -1"
	.BackColorPanels = 83886080
	.BackColor = -2147483633
	.Format = "1/2"
	With .Panel(1)
		.Text = "Panel 1"
		.Italic = True
	End With
	.Panel(2).Text = "<i>Panel</i> 2"
	.EndUpdate 
End With
The following VB.NET sample shows "How can I show in italic a specified panel":
With AxStatusBar1
	.BeginUpdate 
	.VisualAppearance.Add 4,"c:\exontrol\images\border.ebn"
	.VisualAppearance.Add 5,"CP:4 1 1 -1 -1"
	.GetOcx().BackColorPanels = &H5000000
	.GetOcx().BackColor = &H8000000f
	.Format = "1/2"
	With .get_Panel(1)
		.Text = "Panel 1"
		.Italic = True
	End With
	.get_Panel(2).Text = "<i>Panel</i> 2"
	.EndUpdate 
End With
The following C++ sample shows "How can I show in italic a specified panel":
/*
	Copy and paste the following directives to your header file as
	it defines the namespace 'EXSTATUSBARLib' for the library: 'ExStatusBar 1.0 Control Library'

	#import "C:\\WINNT\\system32\\ExStatusBar.dll"
	using namespace EXSTATUSBARLib;
*/
EXSTATUSBARLib::IStatusBarPtr spStatusBar1 = GetDlgItem(IDC_STATUSBAR1)->GetControlUnknown();
spStatusBar1->BeginUpdate();
spStatusBar1->GetVisualAppearance()->Add(4,"c:\\exontrol\\images\\border.ebn");
spStatusBar1->GetVisualAppearance()->Add(5,"CP:4 1 1 -1 -1");
spStatusBar1->PutBackColorPanels(83886080);
spStatusBar1->PutBackColor(-2147483633);
spStatusBar1->PutFormat(L"1/2");
EXSTATUSBARLib::IPanelPtr var_Panel = spStatusBar1->GetPanel(long(1));
	var_Panel->PutText(L"Panel 1");
	var_Panel->PutItalic(VARIANT_TRUE);
spStatusBar1->GetPanel(long(2))->PutText(L"<i>Panel</i> 2");
spStatusBar1->EndUpdate();
The following C# sample shows "How can I show in italic a specified panel":
axStatusBar1.BeginUpdate();
axStatusBar1.VisualAppearance.Add(4,"c:\\exontrol\\images\\border.ebn");
axStatusBar1.VisualAppearance.Add(5,"CP:4 1 1 -1 -1");
(axStatusBar1.GetOcx() as EXSTATUSBARLib.StatusBar).BackColorPanels = 0x5000000;
(axStatusBar1.GetOcx() as EXSTATUSBARLib.StatusBar).BackColor = 0x8000000f;
axStatusBar1.Format = "1/2";
EXSTATUSBARLib.Panel var_Panel = axStatusBar1.get_Panel(1);
	var_Panel.Text = "Panel 1";
	var_Panel.Italic = true;
axStatusBar1.get_Panel(2).Text = "<i>Panel</i> 2";
axStatusBar1.EndUpdate();
The following VFP sample shows "How can I show in italic a specified panel":
with thisform.StatusBar1
	.BeginUpdate
	.VisualAppearance.Add(4,"c:\exontrol\images\border.ebn")
	.VisualAppearance.Add(5,"CP:4 1 1 -1 -1")
	.BackColorPanels = 83886080
	.BackColor = -2147483633
	.Format = "1/2"
	with .Panel(1)
		.Text = "Panel 1"
		.Italic = .T.
	endwith
	.Panel(2).Text = "<i>Panel</i> 2"
	.EndUpdate
endwith