Project

General

Profile

Previous Up Next

_CBcompTextValidation
Sets a callback corresponding to a validation by user.

CompText _CBcompTextValidation (
CompText _text_
fun [CompText u0 I S] u1 _callback_
u0 _user_
I _type_
)
Parameters

_text_
any CompText
_callback_
callback function on validation by user (supplemental parameters are type and value)
type, see _type_ parameter
value is text content when validation occurs
_user_
user parameter
_type_
can be a combination of following values :
Value Meaning
CT_VALIDENTER callback is activated on enter key
CT_VALIDCLICK callback is activated on click outside object
Return value

same CompText