Skip to main content

ISalEditControl

Namespace: PPJ.Runtime

Assembly: PPJ.Runtime.50 (5.0.0.0)

Extends the SAL control contract with validation, display formatting, edit masks, and culture settings.

public interface ISalEditControl : ISalControl

Example:

void FormatValidValue(PPJ.Runtime.ISalEditControl control)
{
if (control.ValidateDataType())
control.ApplyFormat();
}

Properties​

Instance member CultureInfo​

CultureInfo: Gets or sets the culture used to interpret and format the editable value.

Instance member EditMask​

String: Gets or sets the mask that constrains text entered in the control.

Instance member Format​

String: Gets or sets the SAL format picture used to display the value.

Instance member MaxLength​

Int32: Gets or sets the maximum number of characters that can be entered.

Instance member Validated​

Boolean: Gets or sets whether the current content has already passed SAL validation.

Methods​

Instance member ApplyFormat()​

Applies the configured format picture to the current value.

Instance member ValidateDataType()​

Checks whether the current content is valid for the configured data type.

Returns: Boolean. if the content is valid; otherwise, .

Implemented By​

NameDescription
SalComboBoxCombines an editable value and selectable list with SAL validation, formatting, and window actions.
SalDataFieldProvides a single-line text field with SAL data types, formatting, validation, and window actions.
SalMultilineFieldProvides multiline text editing with SAL data types, formatting, validation, and window actions.
SalTableColumnDefines a SAL table column and the editing, formatting, and list behavior of its current cell.
SalQuickToolTipComboBoxProvides a SAL combo box with Quick Objects tooltip and status-text compatibility methods.
SalQuickToolTipDataFieldProvides a SAL data field with Quick Objects tooltip and status-text compatibility methods.
SalQuickToolTipMultilineFieldProvides a SAL multiline input with Quick Objects tooltip and status-text compatibility methods.
VisCalendar
VisCalendarDropDown
VisColorComboBox
VisColorPaletteDropDown
VisComboBoxBase
VisDropDownBase
VisFontComboBox
VisFontNameComboBox
VisListViewDropDown
VisOutlineComboBox
VisPictureComboBox
VisSpinField