TopLevelContainer Property
Gets a value that indicates whether the object is a top-level container.
Syntax
[ bTopContainer = ] object.TopLevelContainer
Possible Values
bTopContainer Boolean that receives one of the following values: FalseObject is not a top-level container.TrueObject is a top-level container.The property is read-only. The property has no default value.
Remarks
The WebBrowser object returns False if it is in a frame; InternetExplorer always returns True.
Applies To
InternetExplorer, WebBrowser