Click or drag to resize

FieldSpec.SetRequired Method (Typed)

X#
Set a new required validation for this field specification and new hyperlabel diagnostics for the required check.

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

Parameters

lReq
Type: Logic
TRUE if the field should be required; otherwise, FALSE. If omitted, TRUE is assumed.
oHL
Type: HyperLabel
The hyperlabel that contains the new diagnostics for the required check (caption, description, and help context). If omitted, the current value is not changed.
See Also