|
This function returns the ID of the current widget. When called with the ID of a widget in the Java client, it returns: |
||||||||||
Syntax: |
|||||||||||
widget_id_tab(widget_id() | |||||||||||
I/O parameters:
|
|||||||||||
Return value: |
|||||||||||
|
|||||||||||
Example: |
|||||||||||
Declaration of Variables | |||||||||||
10 RES = widget_id_tab(widget_id()) 20 if (RES == 0) 30 put(strprint("In Combined Form %s on sub-form", widget_name(widget_id()))) 40 elseif (RES == 1) 50 put(strprint("Not a Combined Form: %s. Call wdg_get_son to get all child widgets", widget_name(widget_id()))) 60 else 70 put(strprint("In Combined Form %s on tab %s", widget_name(widget_id()), widget_name(RES))) 80 endif |