Send comments on this topic.
WindowMode Property
Attachmate.Reflection.Objects Library (User Interface) > Frame Object : WindowMode Property
Gets the WindowMode.

Syntax

 
ReadOnly Object.WindowMode As WindowModes

Example

This sample determines whether the interface mode of the workspace supports multiple documents and displays the number of views open in the workspace.
Copy Code
Sub Sample_Frame_WindowMode()
    'If in Browser or Ribbon mode, multiple documents are supported
    If ThisFrame.WindowMode = WindowModes_Browser Or _
       ThisFrame.WindowMode = WindowModes_Ribbon Then
 
        MsgBox ("There are " & Str(ThisFrame.ViewCount) & " views open within this frame instance.")
 
    Else  'WindowModes_Classic
        MsgBox ("Since this frame is in ""classic"" mode, there cannot be more " & _
               "than one session view open in it.")
    End If
End Sub

See Also