SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Sets the value of a numeric input field or a mask variable.
C
BOOL SftMask_Contents_SetValue(HWND hwndCtl, short index, const VARIANT* lpVar);
C++
BOOL CSftMask::SetValue(short index, const VARIANT* lpVar);
hwndCtl
The window handle of the masked edit control.
index
The zero-based index of the numeric input field, or the variable number defined using the !number value token (see Edit Masks).
lpVar
The address of a VARIANT with the new value.
The return value is TRUE if the value was set successfully.
The value is validated against the field definition (digits, range). Using value tokens, portions of the input data can be modified without knowing the exact character positions.
See Also GetValue | SetDateTime | Edit Masks
