stop

stop; (MultiMedia)

stop; (Picture)

The stop method of the MultiMedia class stops playing or recording of the medium associated with the control. (See also the MultiMedia class pause method.)

The method in the following example shows the use of the stop method.

stop_click(btn: Button input) updating;
begin
    if cd.getMode = MultiMedia.Mode_Playing then
        cd.stop;
        cd.position := cd.getStartPosition;
    endif;
end;

The stop method of the Picture class causes the current animation process started by the Picture class play method to be terminated. If the play method is not in effect, this method does nothing.

When running the JADE application in thin client mode, this method executes on the presentation client by default.