NUM-SELECTED-WIDGETS attribute

The number of top-level widgets in a frame or window that the user has selected for direct manipulation.

Data type: INTEGER

Access: Read-only

Applies to: DIALOG-BOX widget, FRAME widget, WINDOW widget

For a window, this attribute returns the number of selected frames. For a frame or dialog box, this attribute returns the number of selected field-level widgets. You can use the GET-SELECTED-WIDGET( ) method to access the individual selected widgets.