Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

SftMask Object (ISftMask Interface)

The SftMask object represents the SftMask/OCX control. Through its properties, additional objects can be accessed.

The SftMask object generates events that can be handled by the application (see SftMask Events).

Property/MethodDescription
_FlatPropertiesDefines whether properties are stored as a flat list in a property bag.
_VersionReturns the product's exact version.
AboutBoxDisplays product, contact and copyright information.
ActivateInputActivates the control for input (drop) processing.
AlignmentDefines the text alignment.
AllowEmptyDefines whether the contents are optional when a mask is defined (control contents are valid even if empty).
AllowEmptyWithoutMaskDefines whether the contents are optional when no mask is defined (control contents are valid even if empty).
AllowF4Defines whether the F4 key can be used to open/close the calendar and autocomplete window.
AppearanceDefines the control's paint style.
AutoAdvanceDefines whether the cursor advances to the next input field when a numeric field is full.
AutoCompleteReturns the SftMaskAutoComplete object.
AutoSizeDefines whether the control's height is automatically adjusted.
AutoTabDefines whether the next control in the tab order receives the input focus after valid data has been entered.
BackColorDefines the control's default background color.
BackColorFocusDefines the control's background color when it has the input focus.
BackColorInvalidDefines the control's background color when its contents are invalid.
BorderStyleDefines the control's border style.
CalculatorReturns the SftMaskCalculator object.
CalendarReturns the SftMaskCalendar object.
CancelModeCancels current processing modes.
CaptionReturns the SftMaskCaption object.
CharIndexReturns the index of the character at a given location.
CharIndexPixReturns the index of the character at a given location.
CharPosReturns the position of a range of characters.
CharPosPixReturns the position of a range of characters.
CharPosVReturns the position of a range of characters.
ClipModeDefines the handling of literal data during drag & drop and clipboard operations.
ContentsReturns the SftMaskContents object.
CustomCodeDefines optional product customization.
DataAccessDefines the data-bound access mode.
DataFieldDefines the field name to which the control is bound.
DataMemberDefines the DataMember for a data connection.
DataSourceDefines the data source through which the control is bound to a database.
DefaultHandlingDefines the default text handling.
DefaultTextDefines the control's default text.
DirectReturns an ISftMaskVTable interface pointer.
DropDownWidthDefines the width of the drop down button.
EditStyleDefines the edit style of the control.
EnabledDefines whether the control responds to user-generated events.
EntrySelectDefines whether the contents are automatically selected when the control receives the input focus.
EntrySelectMouseDefines whether mouse clicks honor the EntrySelect property setting.
ErrorHandlingDefines error image handling.
ErrorPositionDefines the location of the error image.
FontDefines the font used to display text while editing.
ForeColorDefines the control's default text color.
ForeColorFocusDefines the control's default text color when it has the input focus.
ForeColorGrayedDefines the control's text color when disabled.
ForeColorInvalidDefines the control's default text color when its contents are invalid.
FormattedTextDefines the control's formatted display text.
GetInsertPositionCalculates the caret location for insertion.
GetPositionReturns the position and dimensions of an area.
GetPositionPixReturns the position and dimensions of an area.
GetPositionVReturns the position and dimensions of an area.
HideSelectionDefines the display style of selected text when the control doesn't have the input focus.
HitTestDetermines the area at a given location.
HitTestPixDetermines the area at a given location.
HitTestVDetermines the area at a given location.
HotTrackDefines whether up/down and drop down buttons are hot-tracked.
hWndReturns the control's window handle.
IgnoreNumMinMaxDefines whether numeric ranges are ignored while typing characters.
ImageEmptyDefines the error image shown when the control's contents are empty.
ImageInvalidDefines the error image shown when the control's contents are invalid.
ImageRequiredDefines the error image shown when data entry is required.
InputModeDefines insert/overtype mode behavior.
InsertDefines the current insert/overtype mode.
LabelDefines the label displayed in the control's input area.
LabelPositionDefines the location of the label.
LicenseReturns the product's license number.
LoadLoads the control contents.
LockedDefines whether the control allows data entry and can be edited.
LockedDropDownDefines whether the calendar drop down button is disabled.
LockedEllipseDefines whether the ellipse button is disabled.
LockedUpDownDefines whether the up/down buttons are disabled.
MaskDefines the mask for data entry.
MaskForeColorDefines the control's default mask color.
MaskForeColorGrayedDefines the control's mask color when disabled.
MaxLengthDefines the maximum number of characters in the control.
MessageEmptyDefines the error message text when no input is provided by the end-user.
MessageInvalidDefines the error message text when the input is invalid.
MessageRequiredDefines the warning message text when input is required.
MessageTitleDefines the caption of the message box displaying error message text.
MouseIconDefines a custom mouse icon.
MousePointerDefines the mouse pointer used.
NextControlAdvances the input focus to the next control.
OLEDragInitiates an OLE drag & drop operation.
OLEDragModeDefines OLE drag support.
OLEDropModeDefines OLE drop support.
OptimalPositionUpdates the caret location and makes it optimal.
PaddingDefines whether date/time separators receive additional blank padding.
PrevControlMoves the input focus to the previous control.
PromptCharDefines the character used to prompt for input data.
PromptUnderlineDefines whether input fields are underlined when the control has the input focus.
PromptUnderlineNoFocusDefines whether input fields are underlined when the control does not have the input focus.
PswdCharDefines the character used to mask password fields.
RefreshRepaints the entire control.
RightToLeftDefines the display direction and visual appearance on a bidirectional system.
RollupCloses the popup calendar, popup calculator and autocomplete window.
SaveSaves the control contents.
SelectBackColorDefines the control's background color for selected text.
SelectBackColorFocusDefines the control's background color for selected text when it has the input focus.
SelectForeColorDefines the control's selected text color.
SelectForeColorFocusDefines the control's selected text color when it has the input focus.
SelLengthDefines the length of the selected text.
SelStartDefines the start of the selected text.
SelTextDefines the selected text.
ShowDropPositionDisplays the drop target at the specified position.
TabAdvanceDefines whether the Tab key advances to the next input field in the edit control.
TabAdvanceLastDefines whether the Tab key advances to the last position in the control or to the next control instead.
TextDefines the control contents.
TextDisplayReturns the interpreted control contents.
TextDisplayNoLiteralsReturns the interpreted control contents, without literal characters.
TextDisplayWithLiteralsReturns the interpreted control contents, including literal characters.
TextPureNoLiteralsReturns the pure control contents, without literal characters.
TextPureWithLiteralsReturns the pure control contents, including literal characters.
ThemeStyleDefines the theme style of the control (if UseThemes enabled).
UseThemesDefines whether Windows themes can be used.
VersionReturns the product's exact version.
WebLicenseDefines the license information for use on one web site.
WindowReturns the control's window handle.

See Also Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.