event PercentChange (Panel as Panel)
Occurs when the Percent property is changed.

TypeDescription
Panel as Panel A Panel object where the Percent property has been changed. 
Use the PercentChange event to notify your application when the Percent property is changed. The Percent property specifies the percent of the progress bar being displayed in the panel. Use the PercentChange event to change the panel's caption according to the percent value. The Text property specifies the caption of the panel.

The following VB sample change the panel's caption according to the Percent value:

Private Sub StatusBar1_PercentChange(ByVal Panel As EXSTATUSBARLibCtl.IPanel)
    Panel.Text = Panel.Percent + "%"
End Sub

The following VB.NET sample change the panel's caption according to the Percent value:

Private Sub AxStatusBar1_PercentChange(ByVal sender As System.Object, ByVal e As AxEXSTATUSBARLib._IStatusBarEvents_PercentChangeEvent) Handles AxStatusBar1.PercentChange
    With e.panel
        .Text = .Percent.ToString() + "%"
    End With
End Sub

The following C# sample change the panel's caption according to the Percent value:

private void axStatusBar1_PercentChange(object sender, AxEXSTATUSBARLib._IStatusBarEvents_PercentChangeEvent e)
{
    e.panel.Text = e.panel.Percent.ToString() + "%";
}

The following C++ sample change the panel's caption according to the Percent value:

void OnPercentChangeStatusbar1(LPDISPATCH Panel) 
{
	CPanel panel(Panel);
	panel.m_bAutoRelease = FALSE;
	CString strPercent;
	strPercent.Format( "%i%%", panel.GetPercent() );
	panel.SetText( strPercent );
}

The following VFP sample change the panel's caption according to the Percent value:

*** ActiveX Control Event ***
LPARAMETERS panel

with panel
	.Text = LTrim(RTrim(.Percent)) + "%"
endwith

Syntax for PercentChange event, /NET version, on:

private void PercentChange(object sender,exontrol.EXSTATUSBARLib.Panel Panel)
{
}

Private Sub PercentChange(ByVal sender As System.Object,ByVal Panel As exontrol.EXSTATUSBARLib.Panel) Handles PercentChange
End Sub

Syntax for PercentChange event, /COM version, on:

private void PercentChange(object sender, AxEXSTATUSBARLib._IStatusBarEvents_PercentChangeEvent e)
{
}

void OnPercentChange(LPDISPATCH Panel)
{
}

void __fastcall PercentChange(TObject *Sender,Exstatusbarlib_tlb::IPanel *Panel)
{
}

procedure PercentChange(ASender: TObject; Panel : IPanel);
begin
end;

procedure PercentChange(sender: System.Object; e: AxEXSTATUSBARLib._IStatusBarEvents_PercentChangeEvent);
begin
end;

begin event PercentChange(oleobject Panel)
end event PercentChange

Private Sub PercentChange(ByVal sender As System.Object, ByVal e As AxEXSTATUSBARLib._IStatusBarEvents_PercentChangeEvent) Handles PercentChange
End Sub

Private Sub PercentChange(ByVal Panel As EXSTATUSBARLibCtl.IPanel)
End Sub

Private Sub PercentChange(ByVal Panel As Object)
End Sub

LPARAMETERS Panel

PROCEDURE OnPercentChange(oStatusBar,Panel)
RETURN

Syntax for PercentChange event, /COM version (others), on:

<SCRIPT EVENT="PercentChange(Panel)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function PercentChange(Panel)
End Function
</SCRIPT>

Procedure OnComPercentChange Variant llPanel
	Forward Send OnComPercentChange llPanel
End_Procedure

METHOD OCX_PercentChange(Panel) CLASS MainDialog
RETURN NIL

void onEvent_PercentChange(COM _Panel)
{
}

function PercentChange as v (Panel as OLE::Exontrol.StatusBar.1::IPanel)
end function

function nativeObject_PercentChange(Panel)
return