LogiView

Command 'widget_close'

     

This command is used to close the specified widget. This function could be compared with the function 'wdg_del_wdg' of the DataView programming interface.

This command must not be called with a conditional instruction.
 

Syntax:

  widget_close({WDG_ID|0})
 

I/O parameters:

{WDG_ID|0}

{WDG_ID}

ID of the widget to be closed.

{0}

Current widget.
-  
 

Return value:

 
-  
 

Example:

  Declaration of Variables
 
10 DOKU_INT_1 = @iwf_lis_ent("EDB-DOCUMENT")
20 DOKU_INT_2 = widget_id()
30 DOKU_INT_1 = @wdh_upd_lis()
40 put(strprint("There are %i Dok's", row_count(DOKU_INT_2)))
50 widget_close(DOKU_INT_2)
  Result:
  The document widget is displayed and updated. When the number of existing documents has been returned, the widget is closed.

Functions and commands: Editing Masks