7.79 INVOKE

Note: Usage options

The INVOKE command invokes a method. A method can be a standard method such as a form's Show and Hide methods, or it can be a user-defined method.

Custom-defined methods can also accept input values and can return output values. When you invoke a method like this you need to pass a value and assign a field for the returned value.

Methods are often used by an owner form to instruct a member form to perform some action. Note that a component can also invoke its own methods, for example a form can close itself by invoking its Hide method.

The specification of the INVOKE command is as follows:

   INVOKE Method(method_expression) ParmOne(#ArgOne) ParmTwo(#ArgTwo)

Using RDMLX, without its name, the command can be entered in the following way:

   method_expression ParmOne(#ArgOne) ParmTwo(#ArgTwo)

Also See

7.79.1 INVOKE Parameters

7.79.2 INVOKE Examples


                                                                                                Required                                                                              

    INVOKE -------------Component.Method  -------------------------->                                                                               

   ------------------------------------------------------------------------                                                                            

                                                                                               Optional            

                           >---- Parameter and Value  -------------------------|