Skip to main content
Version: 2025

ISalEditControl

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.50 (5.0.0.0)

Exposes validation, formatting, and input constraints for an editable SAL control.

public interface ISalEditControl : ISalControl

Example:

bool Validate(PPJ.Runtime.Windows.ISalEditControl control)
{
if (!control.ValidateDataType())
return false;
control.ApplyFormat();
control.Validated = true;
return true;
}

Properties

Instance member CultureInfo

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

Instance member EditMask

String: Gets or sets the mask that constrains editable input.

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 input length, in characters.

Instance member Validated

Boolean: Gets or sets whether the current content has been validated.

Methods

Instance member ApplyFormat()

Formats the current value using the control's format picture.

Instance member ValidateDataType()

Checks whether the current content can be interpreted as the control's data type.

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

Implemented By

NameDescription
SalComboBoxCombines a selectable item list with SAL editing, formatting, and validation behavior.
SalDataFieldProvides a masked input field with SAL data types, formatting, validation, and window actions.
SalMultilineFieldProvides multiline text input with SAL editing, validation, and window actions.
SalTableColumnDefines a SAL table column, its per-row value, display formatting, editor, and window actions.
VisCalendar
VisCalendarDropDown
VisColorComboBox
VisComboBoxBase
VisDriveComboBox
VisDropDownBase
VisFontComboBox
VisFontNameComboBox
VisListViewDropDown
VisOutlineComboBox
VisPictureComboBox
VisSpinField