Skip to main content

SalRibbonStatusBar

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Runtime.50 (5.0.0.0)

Displays SAL status text and keyboard-lock indicators on a ribbon form.

public class SalRibbonStatusBar : C1StatusBar, ISalAccessory

Example:

using (var form = new PPJ.Runtime.Windows.SalFormWindow())
{
var accessory = new PPJ.Runtime.Windows.SalRibbonStatusBar();
form.Controls.Add(accessory);
}

Constructors

Instance member SalRibbonStatusBar()

Creates the default status-text and keyboard-indicator components.

Properties

Instance member Create

Boolean: Gets or sets whether the SAL form creates this accessory. (Default: True)

Instance member ShowKeyboardStatus

Boolean: Gets or sets whether the default Caps Lock, Num Lock, and Scroll Lock indicators are displayed. (Default: True)

Instance member ShowStatusText

Boolean: Gets or sets whether the default status-text panel is displayed. (Default: True)

Instance member Text

String: Gets or sets the text of the default status panel. (Default: "")

Methods

Protected member Dispose(disposing)

Disposes the keyboard-status timer before disposing the control.

ParameterTypeDescription
disposingBooleanTrue to release managed resources as well as native resources.

Protected member InitializeComponent()

Creates and names the status labels and sets initial visibility and tab-navigation behavior.

Protected member OnHandleCreated(e)

Ensures that the configured status panels exist before raising the handle-created event.

ParameterTypeDescription
eEventArgsThe event data.

Protected member OnHandleDestroyed(e)

Stops and disposes the keyboard-status timer before raising the handle-destroyed event.

ParameterTypeDescription
eEventArgsThe event data.

Protected member SetVisibleCore(value)

Applies visibility while keeping an accessory with Create disabled hidden in the designer.

ParameterTypeDescription
valueBooleanTrue to show the accessory; false to hide it.

Protected member WndProc(m)

Processes native messages while ignoring WM_CLOSE to avoid closing the owning form.

ParameterTypeDescription
m by referenceMessageThe window message and its result.

Implements

NameDescription
ISalAccessoryProvides the runtime creation setting and role of a SAL form accessory.