SftMask/OCX 6.5

SftMask Object (ISftMask Interface)

Softel vdm, Inc.

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/Method

Description

_FlatProperties

Defines whether properties are stored as a flat list in a property bag.

_Version

Returns the product's exact version.

AboutBox

Displays product, contact and copyright information.

ActivateInput

Activates the control for input (drop) processing.

Alignment

Defines the text alignment.

AllowEmpty

Defines whether the contents are optional (valid even if empty).

AllowF4

Defines whether the F4 key can be used to open/close the calendar and autocomplete window.

Appearance

Defines the control's paint style.

AutoAdvance

Defines whether the cursor advances to the next input field when a numeric field is full.

AutoComplete

Returns the SftMaskAutoComplete object.

AutoSize

Defines whether the control's height is automatically adjusted.

AutoTab

Defines whether the next control in the tab order receives the input focus after valid data has been entered.

BackColor

Defines the control's default background color.

BackColorFocus

Defines the control's background color when it has the input focus.

BackColorInvalid

Defines the control's background color when its contents are invalid.

BorderStyle

Defines the control's border style.

Calculator

Returns the SftMaskCalculator object.

Calendar

Returns the SftMaskCalendar object.

CancelMode

Cancels current processing modes.

Caption

Returns the SftMaskCaption object.

CharIndex

Returns the index of the character at a given location.

CharIndexPix

Returns the index of the character at a given location.

CharPos

Returns the position of a range of characters.

CharPosPix

Returns the position of a range of characters.

CharPosV

Returns the position of a range of characters.

ClipMode

Defines the handling of literal data during drag & drop and clipboard operations.

Contents

Returns the SftMaskContents object.

CustomCode

Defines optional product customization.

DataAccess

Defines the data-bound access mode.

DataField

Defines the field name to which the control is bound.

DataMember

Defines the DataMember for a data connection.

DataSource

Defines the data source through which the control is bound to a database.

DefaultHandling

Defines the default text handling.

DefaultText

Defines the control's default text.

Direct

Returns an ISftMaskVTable interface pointer.

DropDownWidth

Defines the width of the drop down button.

EditStyle

Defines the edit style of the control.

Enabled

Defines whether the control responds to user-generated events.

EntrySelect

Defines whether the contents are automatically selected when the control receives the input focus.

EntrySelectMouse

Defines whether mouse clicks honor the EntrySelect property setting.

Font

Defines the font used to display text while editing.

ForeColor

Defines the control's default text color.

ForeColorFocus

Defines the control's default text color when it has the input focus.

ForeColorGrayed

Defines the control's text color when disabled.

ForeColorInvalid

Defines the control's default text color when its contents are invalid.

FormattedText

Defines the control's formatted display text.

GetInsertPosition

Calculates the caret location for insertion.

GetPosition

Returns the position and dimensions of an area.

GetPositionPix

Returns the position and dimensions of an area.

GetPositionV

Returns the position and dimensions of an area.

HideSelection

Defines the display style of selected text when the control doesn't have the input focus.

HitTest

Determines the area at a given location.

HitTestPix

Determines the area at a given location.

HitTestV

Determines the area at a given location.

HotTrack

Defines whether up/down and drop down buttons are hot-tracked.

hWnd

Returns the control's window handle.

InputMode

Defines insert/overtype mode behavior.

Insert

Defines the current insert/overtype mode.

License

Returns the product's license number.

Load

Loads the control contents.

Locked

Defines whether the control allows data entry and can be edited.

LockedDropDown

Defines whether the calendar drop down button is disabled.

LockedEllipse

Defines whether the ellipse button is disabled.

LockedUpDown

Defines whether the up/down buttons are disabled.

Mask

Defines the mask for data entry.

MaskForeColor

Defines the control's default mask color.

MaskForeColorGrayed

Defines the control's mask color when disabled.

MaxLength

Defines the maximum number of characters in the control.

MessageEmpty

Defines the error message text when no input is provided by the end-user.

MessageInvalid

Defines the error message text when the input is invalid.

MessageTitle

Defines the caption of the message box displaying error message text.

MouseIcon

Defines a custom mouse icon.

MousePointer

Defines the mouse pointer used.

NextControl

Advances the input focus to the next control.

OLEDrag

Initiates an OLE drag & drop operation.

OLEDragMode

Defines OLE drag support.

OLEDropMode

Defines OLE drop support.

OptimalPosition

Updates the caret location and makes it optimal.

Padding

Defines whether date/time separators receive additional blank padding.

PrevControl

Moves the input focus to the previous control.

PromptChar

Defines the character used to prompt for input data.

PromptUnderline

Defines whether input fields are underlined when the control has the input focus.

PromptUnderlineNoFocus

Defines whether input fields are underlined when the control does not have the input focus.

PswdChar

Defines the character used to mask password fields.

Refresh

Repaints the entire control.

RightToLeft

Defines the display direction and visual appearance on a bidirectional system.

Rollup

Closes the popup calendar, popup calculator and autocomplete window.

Save

Saves the control contents.

SelectBackColor

Defines the control's background color for selected text.

SelectBackColorFocus

Defines the control's background color for selected text when it has the input focus.

SelectForeColor

Defines the control's selected text color.

SelectForeColorFocus

Defines the control's selected text color when it has the input focus.

SelLength

Defines the length of the selected text.

SelStart

Defines the start of the selected text.

SelText

Defines the selected text.

ShowDropPosition

Displays the drop target at the specified position.

TabAdvance

Defines whether the Tab key advances to the next input field in the edit control.

TabAdvanceLast

Defines whether the Tab key advances to the last position in the control or to the next control instead.

Text

Defines the control contents.

TextDisplay

Returns the interpreted control contents.

TextDisplayNoLiterals

Returns the interpreted control contents, without literal characters.

TextDisplayWithLiterals

Returns the interpreted control contents, including literal characters.

TextPureNoLiterals

Returns the pure control contents, without literal characters.

TextPureWithLiterals

Returns the pure control contents, including literal characters.

ThemeStyle

Defines the theme style of the control (if UseThemes enabled).

UseThemes

Defines whether Windows themes can be used.

Version

Returns the product's exact version.

WebLicense

Defines the license information for use on one web site.

Window

Returns the control's window handle.

See Also  Object Hierarchy


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com