IWebForm.SendCommand

Syntax

SendCommand(Command: String; [Argument: Variant = Null]): Variant;

Parameters

Command. Name of the command that will be sent to the web form.

Argument. Command argument.

Description

The SendCommand method sends a command to the web form and gets command execution results.

Comments

The use of this method is available only in the web application. The sent command can be handled in the onCommand web form event. As a command argument, one can send both simple type values and system or custom objects.

Example

The method use is given in the example for IWebForm.ShowModal.

See also:

IWebForm