SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Various properties are available to define the visual appearance of the Masked Edit control:
Alignment | The horizontal alignment of the contents is defined using the Alignment property. While the control has the input focus, left and right aligned text display is possible. While the control does not have the input focus, left, centered or right aligned text is possible. The FormattedText property can be used to override the default contents while the control does not have the input focus. |
Appearance | Defines the border style (flat or 3D) of the control. Usually used together with the BorderStyle property. |
AutoSize | Controls the height of the control. By setting the AutoSize property to True, the control's height is automatically adjusted so text is never clipped vertically. The height of the control is increased or decreased as necessary based on the size of the font used (defined using the Font and Caption.Font properties). |
BorderStyle | Defines whether the control has a border. Usually used together with the Appearance property. |
Caption | The SftMaskCaption object describes the attributes of the control's caption area. |
DropDownWidth | Defines the width of the drop down button. |
EditStyle | Defines whether up/down buttons or calendar drop down buttons are displayed. |
Font | Defines the font used to display the contents of the control. Modifiable fields can optionally be underlined using the PromptUnderline property. The height of the control may automatically be adjusted when the font changes, based on the AutoSize property. |
FormattedText | This optional property can be used to display text when the Masked Edit control does not have the input focus, overriding the (default) formatted contents of the control. |
HideSelection | Defines the display of the currently selected text when the control does not have the input focus. |
HotTrack | Defines whether up/down and drop down buttons are hot-tracked. |
PromptChar | Modifiable fields can display the prompt character in places where data has not yet been entered. The default is a space character. The PromptUnderline property can be used to underline input fields. The PromptUnderline property should be used instead of defining the PromptChar property as an underscore ("_") character. |
PromptUnderline PromptUnderlineNoFocus | The PromptUnderline and PromptUnderlineNoFocus properties can be used to underline areas where data has not been entered. The PromptUnderline property should be used instead of defining the PromptChar property as an underscore ("_") character. |
PswdChar | If data entered should not be displayed (e.g. in password fields), the PswdChar property can be used to define the character that should be displayed instead of actual data. The PswdChar property only takes effect if the "<p" subtoken is used in a mask or if no mask has been defined (see Mask property). |
RightToLeft | Defines the text orientation, usually used with Hebrew and Arabic Windows versions for text that is displayed in a Right-To-Left Reading fashion. |
ThemeStyle | Defines the theme style of the control (if UseThemes is enabled). |
UseThemes | Defines whether Windows themes can be used. |
Colors | |
---|---|
BackColor | Defines the background color of the control. Text that is selected (highlighted) uses the background color defined using SelectBackColor. |
BackColorInvalid | Defines the background color of the control, which is used when the control's contents are invalid. |
BackColorFocus | Defines the control's background color when it does not have the input focus. |
ForeColor | Defines the foreground color used to display text and fields modifiable by the user, provided the control is enabled (see Enabled property). Literals defined using the Mask property use the color defined using the MaskForeColor property. Text that is selected (highlighted) uses the foreground color defined using SelectForeColor. If the control is disabled, the color defined using the ForeColorGrayed property is used instead. |
ForeColorInvalid | Defines the foreground color used to display text and fields modifiable by the user. This color is only used when the control's contents are invalid. |
ForeColorFocus | Defines the control's default text color when it does not have the input focus. |
ForeColorGrayed | Defines the foreground color used to display text and fields modifiable by the user, provided the control is disabled (see Enabled property). Literals defined using the Mask property use the color defined using the MaskForeColorGrayed property. If the control is enabled, the color defined using the ForeColor property is used instead. |
MaskForeColor | Defines the foreground color used to display text not modifiable by the user (literals), provided the control is enabled (see Enabled property). Text that is selected (highlighted) uses the foreground color defined using SelectForeColor. If the control is disabled, the color defined using the MaskForeColorGrayed property is used instead. |
MaskForeColorGrayed | Defines the foreground color used to display text not modifiable by the user (literals), provided the control is disabled (see Enabled property). If the control is enabled, the color defined using the MaskForeColor property is used instead. |
SelectBackColor | Defines the background color of text that is selected (highlighted). |
SelectBackColorFocus | Defines the control's background color for selected text when it has the input focus. |
SelectForeColor | Defines the foreground color used to display text that is selected (highlighted). |
SelectForeColorFocus | Defines the control's selected text color when it has the input focus. |