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.