ViewerFromTarget Method


Applies to

TFrameViewer and TFrameBrowser components

Declaration

function ViewerFromTarget(const Target: String): THtmlViewer;

Description

The ViewerFromTarget method returns a pointer to the THtmlViewer contained in the named Frame. Target is the name of the Frame containing the viewer.

Usage notes:

Strictly speaking, a Target name refers to a Frame and a Frame may contain more than one THtmlViewer or may contain other Frames. The ViewerFromTarget method returns Nil if the Target Frame contains other than a single THtmlViewer.

See Also:

ActiveViewer Property

Viewers Property