KBForm (subclass of KBFormBLock)

On Load (onload)

Script routine to be invoked when the form is loaded. The routine takes a single argument, the form. Note that his event is called before the database is queried for data.

On Opened (onopened)

Script routine to be invoked when the form is opened. The routine takes a single argument, the form. This is called immediately after the database has been queried for form data.

On UnLoad (onunload)

Script routine to be invoked when the form is closed. The routine takes a single argument, the form.

OnClose (onclose)

Script routine to be called before the form is closed. The routine takes a single argument, the form. If the function returns a true result the form is closed, otherwise the close request is ignored.