|
VADELIA |
|
WADELIA |
MADELIA |
|
(I) (C) |
|
(I) (C) |
(I) (C) |
Warning: This instruction must not be confused with the CALL_METHOD instruction used for ADELIA programs.
Section for use
All
Syntax
CALL_METHOD GraphicalObject MethodNameOrAlphaVarId SeriesParameters
MethodNameOrAlphaVarId |
→ |
MethodName | &AlphaVarId |
SeriesParameters |
→ |
SeriesParameters Parameter | None |
Description
This instruction is used to call the function MethodName or the method whose name is contained in the alphanumeric variable AlphaVarId, in the graphical object GraphicalObject, and assign the parameters SeriesParameters.
Note:
- The parameters can be constants.
- The call of the method will fail if the method name is entered via a variable's name, and that at least one of the parameters is of the VARIANT type.
Example
CALL_METHOD ZZ_PICTURE LOAD_BITMAP W_FILE_PATH
Other example
* Boolean array declared in the DECL PGM
BOOL SLICESARRAY(99)
* on the HotHit event the selected part is detached.
* if click on a detached slice it is stuck to the pie.