#

# LogiView

## Function 'widget_top'

| With the special mask name "TOP" a not-freely positionable mask can be linked to the Top Button Bar. The mask may contain e.g. field for displaying resp. selecting system settings to be displayed in the Top Button Bar directly. The Top mask is set to match the DataView window and as long as the Top Button Bar automatically (according to the set line length of the Top Button Bar using the client environment variable DATAVIEW_TLIN). The position of fields in the Top mask is determined by the source of the Top Button Bar (left, upper corner below the Top menu). Widget_top returns: the widget ID of the Top mask used to write in this mask by means of 'field_write'. "0" if no Top mask exists.
| ### Syntax:
| {INT_VAR}= widget_top()
| ### I/O parameters:
| - |
| - |
| ### Return value:
| {INT_VAR} | Widget ID of the Top mask.
| ### Example:
| Declaration of Variables
     10 DOKU_INT_1 = widget_top()
| Functions and commands: Editing Masks