Click or drag to resize

FieldSpec.SetType Method (Typed)

X#
Set a new data type for this field specification and new hyperlabel diagnostics for the data type check.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOSystemClasses (in XSharp.VOSystemClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetType(
	uType AS USUAL,
	 oHL AS HyperLabel
) AS VOID
Request Example View Source

Parameters

uType
Type: Usual
The new data type. It can be specified either as a one-character string or as a constant (See FieldSpec:ValType and FieldSpec:UsualType for valid strings and constants, respectively). If omitted, the current value is not changed.
oHL
Type: HyperLabel
The hyperlabel that contains the new diagnostics for the data type check (caption, description, and help context). If omitted, the current value is not changed.
Remarks
A field specification's data type is typically set during instantiation, and should not normally be changed later.
See Also