FieldSpec.SetRequired Method (Typed) | |
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
public virtual void SetRequired(
[DefaultParameterValueAttribute(true, 0)] bool lReq,
[DefaultParameterValueAttribute(null, 0)] HyperLabel oHL
)
Request Example
View SourceParameters
- 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