Definitions

Build 1501 on 14/Nov/2017  This topic last edited on: 3/Mar/2014, at 16:25

A property of an object is like a variable: it returns a value but it can also be set to a value.

A method of an object is an executable procedure that returns a value. It cannot be put to the left of an assignment. Please have in mind that method can be called in two modes:

a/ Method_name (parameter1, parameter2, parameter3)

b/ Return_value = Function_name (parameter1, parameter2, parameter3)

A standard method of an object is an executable procedure that returns one of the following numeric values:

Value

Constant

Description

0

EOK

Success

1202

EFAILED

failure due to an error - e.g. a database access error. Usually when a function returns this value it also displays an error message

1013

ECANCELED

the operation was canceled by the user - i.e. the user canceled a dialog or aborted in some way the operation.

Note

The constants may not be available in all classes of add-ins.