Viewers Property


Applies to

TFrameViewer and TFrameBrowser components

Description

property Viewers: TStrings;

Read only and run time only. The Viewers property lists all the currently displayed THtmlViewers in a Frame HTML document. The THtmlViewers are itemized in the Objects part of the TStrings return.

The String associated with the Object contains information to assist in identifying which viewer is which. The String portion contains combinations of the letters, l, t, r, and b which indicates if that particular viewer touches the Left, Top, Right, or Bottom sides of the overall Frame.

Some Examples:

A combination, "tr" would indicate the viewer is in the top right corner.

A combination, "lbr" would indicate the viewer is the one on the bottom.

See Also:

ActiveViewer Property

ViewerFromTarget Method