Skip to main content

SalQuickToolTipRadioButton

Namespace: PPJ.Runtime.Windows.QO

Assembly: PPJ.Runtime.50 (5.0.0.0)

Provides a SAL radio button with Quick Objects tooltip and status-text compatibility methods.

public class SalQuickToolTipRadioButton : SalRadioButton

Tooltip behavior follows SalToolTipManager on the current platform.

Example:

using PPJ.Runtime.Windows.QO;

var control = new SalQuickToolTipRadioButton();
// Associate a tip after the control is created.
control.SetTipText("Enter or choose a value.");

Constructors

Instance member SalQuickToolTipRadioButton()

Initializes the control and its tooltip delegate.

Properties

Instance member TooltipStatus

String: Gets or sets the cached status-bar text for this control. (Default: "")

Null assignments become an empty string. Web tooltip management does not display this status text.

Instance member TooltipText

String: Gets or sets the cached tooltip text for this control. (Default: "")

Null assignments become an empty string. Setting the property forwards the text to the tooltip manager.

Methods

Instance member AddTool(hWnd, sTip, sStatus)

Associates tooltip text and status text with a control.

ParameterTypeDescription
hWndSalWindowHandleThe window handle associated with the tooltip.
sTipSalStringThe tooltip text.
sStatusSalStringThe status-bar text; ignored by the Web implementation.

Returns: SalBoolean. True if the control is registered; otherwise, false.

User controls also register their immediate children.

Instance member DeleteTool(hWnd)

Unregisters a control's tooltip.

ParameterTypeDescription
hWndSalWindowHandleThe window handle associated with the tooltip.

Returns: SalBoolean. True if the control is removed; otherwise, false.

For a user control, unregisters its immediate children as well.

Instance member DeleteTool()

Unregisters this control's tooltip.

Returns: SalBoolean. True if the control is removed; otherwise, false.

For a user control, unregisters its immediate children as well. This overload targets the current control.

Instance member GetStatusText(hWnd)

Reads a registered control's status-bar text.

ParameterTypeDescription
hWndSalWindowHandleThe window handle associated with the tooltip.

Returns: SalString. The stored status text; an empty string if no status data exists; SalString.Null if the control is not registered.

Instance member GetStatusText()

Reads this registered control's status-bar text.

Returns: SalString. The stored status text; an empty string if no status data exists; SalString.Null if the control is not registered.

This overload targets the current control.

Instance member GetTipText(hWnd)

Reads a registered control's tooltip text.

ParameterTypeDescription
hWndSalWindowHandleThe window handle associated with the tooltip.

Returns: SalString. The tooltip text, or SalString.Null if the control is not registered.

Instance member GetTipText()

Reads this registered control's tooltip text.

Returns: SalString. The tooltip text, or SalString.Null if the control is not registered.

This overload targets the current control.

Instance member IsTool(hWnd)

Tests whether a control has a tooltip registration.

ParameterTypeDescription
hWndSalWindowHandleThe window handle associated with the tooltip.

Returns: SalBoolean. True if registered; otherwise, false.

Instance member IsTool()

Tests whether this control has a tooltip registration.

Returns: SalBoolean. True if registered; otherwise, false.

This overload targets the current control.

Instance member SetStatusText(hWnd, sText)

Updates the status-bar text for a registered control.

ParameterTypeDescription
hWndSalWindowHandleThe window handle associated with the tooltip.
sTextSalStringThe replacement text.

Returns: SalBoolean. True if tooltip information exists; otherwise, false.

Instance member SetStatusText(sText)

Updates the status-bar text for this registered control.

ParameterTypeDescription
sTextSalStringThe replacement text.

Returns: SalBoolean. True if tooltip information exists; otherwise, false.

This overload targets the current control.

Instance member SetTipText(hWnd, sText)

Updates the tooltip text for a registered control.

ParameterTypeDescription
hWndSalWindowHandleThe window handle associated with the tooltip.
sTextSalStringThe replacement text.

Returns: SalBoolean. True if the control is registered and updated; otherwise, false.

Instance member SetTipText(sText)

Updates the tooltip text for this registered control.

ParameterTypeDescription
sTextSalStringThe replacement text.

Returns: SalBoolean. True if the control is registered and updated; otherwise, false.

This overload targets the current control.

Implements

NameDescription
ISalControlProvides access to a SAL control's typed value, associated label, and modification state.
ISalRadioButtonDescribes the checked state and group membership of SAL radio buttons and check-style option buttons.
ISalWindowExposes SAL message dispatch and runtime metadata for child controls, forms, dialogs, and MDI windows.