Table of Contents

O4WQualifyEvent routine

Description

Sets an "event" in the specified ID.

Syntax

O4WQualifyEvent(id , event { , passedValues} { , addlParams} { , param5} { , param6} { , param7})

Parameters

The function has the following parameters:

ParameterDescription
idThe Id of the O4W control on which to qualify an event.
eventThe Event to be qualified. See remarks for a list of events.
passedValues<Optional> Values to be passed to the stored procedure.
addlParams<Optional> Additional parameters to be passed to the stored procedure.
param5<Optional> Additional parameter, depending on event value
param6<Optional> Additional parameter, depending on event value
param7<Optional> Additional parameter, depending on event value

Returns

Boolean. Returns TRUE if qualified. Returns FALSE if unable to qualify the event.

Remarks

When the event occurs, the specified action will be taken and/or the stored procedure will be called from the browser page. <event> includes

ADDTOTABLE

ADDTOTABLECOL

CHANGE

CHANGED

CLICK

COPY

COPYCOL

COPYROW

DELETECOL

DELETEFROMTABLE

DELETEFROMTABLECOL

DELETEROW

GOTFOCUS (also known as “FOCUS”, “ONFOCUS” and “PRE_FIELD”)

HIDE

INSERTCOL

INSERTROW

LOSTFOCUS (also known as “BLUR”, “ONBLUR”, and “POST_FIELD”)

MOVE

REDIRECT

REMOVE

RESET

SELECT

SHOW

SHOWWHENNOTSELECTED

SHOWWHENSELECTED

SUBMIT

TAB

TABBACK

TABNEXT

TOGGLE

VALIDATE

CUSTOM_xxx (for user-definable events)

See Also

O4W Reference Guide O4WQualifyEvent topic for a detailed description

Example

O4WQualifyEvent("BTNOK", "CLICK")