Type | Description | |||
New as Boolean | A Boolean expression that indicates whether to specify the anchors never clicked or anchors being clicked. | |||
String |
The HTMLPicture specifies the picture being associated to a key. It can be one
of the followings:
If empty, the picture being associated to a key is removed. If the key already exists the new picture is replaced. If the key is not empty, and it doesn't not exist a new picture is added. |
The following VB sample shows "Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions":
With StatusBar1 .BeginUpdate .FormatAnchor(True) = "<b><u><fgcolor=FF0000> </fgcolor></u></b>" .VisualAppearance.Add 4,"c:\exontrol\images\border.ebn" .VisualAppearance.Add 5,"CP:4 1 1 -1 -1" .BackColorPanels = 83886080 .Format = "1,2,3" .Panel(1).Text = "<a1>link 1</a>" .Panel(2).Text = "<a2>link 2</a>" .Panel(3).Text = "<a3>link 3</a>" .EndUpdate End WithThe following VB.NET sample shows "Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions":
With AxStatusBar1 .BeginUpdate .set_FormatAnchor(True,"<b><u><fgcolor=FF0000> </fgcolor></u></b>") .VisualAppearance.Add 4,"c:\exontrol\images\border.ebn" .VisualAppearance.Add 5,"CP:4 1 1 -1 -1" .GetOcx().BackColorPanels = &H5000000 .Format = "1,2,3" .get_Panel(1).Text = "<a1>link 1</a>" .get_Panel(2).Text = "<a2>link 2</a>" .get_Panel(3).Text = "<a3>link 3</a>" .EndUpdate End WithThe following C++ sample shows "Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions":
/* 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 "D:\\Exontrol\\ExStatusBar\\project\\Debug\\ExStatusBar.dll" using namespace EXSTATUSBARLib; */ EXSTATUSBARLib::IStatusBarPtr spStatusBar1 = GetDlgItem(IDC_STATUSBAR1)->GetControlUnknown(); spStatusBar1->BeginUpdate(); spStatusBar1->PutFormatAnchor(VARIANT_TRUE,L"<b><u><fgcolor=FF0000> </fgcolor></u></b>"); spStatusBar1->GetVisualAppearance()->Add(4,"c:\\exontrol\\images\\border.ebn"); spStatusBar1->GetVisualAppearance()->Add(5,"CP:4 1 1 -1 -1"); spStatusBar1->PutBackColorPanels(83886080); spStatusBar1->PutFormat(L"1,2,3"); spStatusBar1->GetPanel(long(1))->PutText(L"<a1>link 1</a>"); spStatusBar1->GetPanel(long(2))->PutText(L"<a2>link 2</a>"); spStatusBar1->GetPanel(long(3))->PutText(L"<a3>link 3</a>"); spStatusBar1->EndUpdate();The following C# sample shows "Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions":
axStatusBar1.BeginUpdate(); axStatusBar1.set_FormatAnchor(true,"<b><u><fgcolor=FF0000> </fgcolor></u></b>"); 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.Format = "1,2,3"; axStatusBar1.get_Panel(1).Text = "<a1>link 1</a>"; axStatusBar1.get_Panel(2).Text = "<a2>link 2</a>"; axStatusBar1.get_Panel(3).Text = "<a3>link 3</a>"; axStatusBar1.EndUpdate();The following VFP sample shows "Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions":
with thisform.StatusBar1 .BeginUpdate .FormatAnchor(.T.) = "<b><u><fgcolor=FF0000> </fgcolor></u></b>" .VisualAppearance.Add(4,"c:\exontrol\images\border.ebn") .VisualAppearance.Add(5,"CP:4 1 1 -1 -1") .BackColorPanels = 83886080 .Format = "1,2,3" .Panel(1).Text = "<a1>link 1</a>" .Panel(2).Text = "<a2>link 2</a>" .Panel(3).Text = "<a3>link 3</a>" .EndUpdate endwith