TInlineFrame

API Manual

TInlineFrame displays an inline frame (<iframe>) on a Web page. The location of the frame content is specified by the FrameUrl property.

The appearance of a TInlineFrame may be customized with the following properties, in addition to those inherited from TWebControl.

  • Align - the alignment of the frame.
  • DescriptionUrl - the URI of a long description of the frame's contents.
  • MarginWidth and MarginHeight - the number of pixels to use as the left/right margins and top/bottom margins, respectively.
  • ScrollBars - whether scrollbars are provided for the inline frame. By default, it is Auto, meaning the scroll bars appear as needed. Setting it as None or Both to explicitly hide or show the scroll bars.

The following samples show TInlineFrame with different property settings. The Google homepage is used as the frame content.