TolliumComponentBase::SetValueIfValid (open)

Set the value for this component, if the value is acceptable

Syntax

LOADLIB "mod::tollium/lib/componentbase.whlib";

BOOLEAN FUNCTION SetValueIfValid(VARIANT newvalue)

Parameters

VARIANT newvalue

Value to set

Return value

BOOLEAN

TRUE if the value was acceptable.

Description

This function tests the given value with IsValidValue before applying it to the value property