FRM
v1.4.2

std
Script emos_std_win_lib

CompiledModule
  |
  +--emos_std_win_lib

This library contains alternative implementations for standard functions that operate on windows (win_x() functions). Another sort of functions in this library are functions that implement some additional functionality that would probably fit into Mercury's logic for win_x() functions.

Tsl
emos_std_win_lib.tsl

Function Summary
 String EMOS_check_win_closed(in win, in timeout)
          Waits for window to close.
 String EMOS_set_window(in win1, in time1)
          This function invokes win_activate() before calling set_window().
 String EMOS_win_close_all(inout[] wins)
          Attempts to close all given windows.
 

Function Detail

EMOS_set_window

public String EMOS_set_window(in win1,
                              in time1)
This function invokes win_activate() before calling set_window(). It also takes care of the timeout (which does not normally work with win_activate()). If for some reason standard set_window() does not work, try this function before trying something else.

Returns:
E_OK: success !E_OK: failure

EMOS_check_win_closed

public String EMOS_check_win_closed(in win,
                                    in timeout)
Waits for window to close.

Parameters:
win - (in) window name
Returns:
E_OK: success; window closed !E_OK: failure

EMOS_win_close_all

public String EMOS_win_close_all(inout[] wins)
Attempts to close all given windows.

Parameters:
wins - (inout[]) array indexed from 0 upwards containg names of windows to close
Returns:
returns E_OK if none of the specified windows existed by the time this function exited otherwise E_EXISTS is returned

FRM
v1.4.2