LogiView

Command 'widget_activate'

     

This command is used to activate a (virtual) widget.

This is necessary if e.g. several virtual widgets have been opened and a userexit is to be called that can only be applied to an active widget. Usually, it is also possible to activate an interactive widget. This command could be compared with the function 'wdg_act_vir' der of the DataView programming interface.

This command must not be called with a conditional instruction.
 

Syntax:

  widget_activate({WDG_ID|0},{"/POP"|""})
 

I/O parameters:

{WDG_ID|0}

+ {WDG_ID}

ID of the widget to be activated.
+ {0} Activation of the current widget.
+ {"/POP"|""} Pops up the widget on client side after activating it on the server.
-  
 

Return value:

 
-  
 

Example:

  Declaration of Variables
 
140   EP_WDG_SON = widget_id_son(DOKU_INT_1,"EDB-ORG-PRS-RLI-C")	
150   if (EP_WDG_SON != 0)	
160   widget_activate(EP_WDG_SON)
..    .. 
190   endif	

Functions and commands: Editing Masks