ActiveFrameWindow Property

       

Returns an FPHTMLWindow2 object of the selected frame in the page window.

expression.ActiveFrameWindow

expression   Required. An expression that returns a PageWindowEx object.

Note   Accessing the ActiveFrameWindow property is the same as accessing the parent window through the active page window as follows:

ActivePageWindow.Document.parentWindow

Example

This example retrieves the ActiveFrameWindow object.

Private Sub GetActiveFrame()
    Dim myPageWindow As PageWindowEx
    Dim myFrame As FPHTMLWindow2

    Set myPageWindow = _
            ActiveWeb.ActiveWebWindow.ActivePageWindow
    Set myFrame = myPageWindow.ActiveFrameWindow
End Sub