#

# LogiView

## Function 'widget_id_son'

| In a combined form this function returns the ID of the child widget to the forwarded father widget and the mask name of the child widget. If no (active) child widget exists with the specified name, the function returns the value "0".
| If the userexit "wdh_upd_lis" was executed in a header form, this function should not be called as a Post-Action-Userexit (from the currently active sublist) in Query mode!
| ### Syntax:
| {INT_VAR}= widget_id_son ({WDG_ID}, {STR_EXPR})
| ### I/O parameters:
| {WDG_ID} | ID of the (parent) widget.
| {STR_EXPR} | Name of sub mask.
| - |
| ### Return value:
| {INT_VAR} | ID of the (child) widget.
| ### Example:
| Declaration of Variables
    10 DOKU_INT_1=widget_id()
    20 DOKU_STRING_1=widget_name(DOKU_INT_1)
    30 DOKU_INT_2=widget_id_son(DOKU_INT_1,"EDB-LGV-DT-PRC-RLI")
    40 put("Mask name",DOKU_STRING_1,"Widget ID", DOKU_INT_1,
           "Widget ID (Son)", DOKU_INT_2)
| Result:
| Functions and commands: Editing Masks