GET-SELECTED-WIDGET( ) method Returns the handle of the selected widget in a dialog box, frame, or window. Return type: HANDLE Applies to: DIALOG-BOX widget, FRAME widget, WINDOW widget Syntax GET-SELECTED-WIDGET ( n ) n An integer expression that specifies an index to a selected widget in a frame, dialog box, or window. You can use the NUM-SELECTED-WIDGETS attribute to determine the total number of selected widgets within the frame or window. The order of the selected widgets is unpredictable.
GET-SELECTED-WIDGET ( n )