MOVE-TO-TOP( ) method

Moves the widget to the top (or front) of other widgets of the same class on the display.

Return type: LOGICAL

Applies to: BROWSE widget, BUTTON widget, COMBO-BOX widget, CONTROL-FRAME widget, EDITOR widget, FILL-IN widget, FRAME widget, IMAGE widget, LITERAL widget, RADIO-SET widget, RECTANGLE widget, SELECTION-LIST widget, SLIDER widget, TEXT widget, TOGGLE-BOX widget, WINDOW widget

Syntax

MOVE-TO-TOP ( )

For the purposes of this method, the classes are as follows:

If the operation is successful, the method returns TRUE.

Images and rectangles are displayed behind other field-level widgets and cannot be moved on top of them.

When you use this method, set the KEEP-FRAME-Z-ORDER attribute to TRUE.

Note: In character interfaces, the MOVE-TO-TOP method applies only to the Frame.