Contents - Index - Previous - Next


BrowseMode property




Declaration
property BrowseMode: Boolean;

Description

Switches the control between Browse mode and Edit mode.

The value of the property is a Boolean value indicating what mode the control is in. If True, the control is in Browse mode. If False, it is in Edit mode.

Setting the value of this property switches between Edit mode and Browse mode. In Browse mode, the control displays the document in a manner similar to the way it is displayed in the browser. Mouse events are "live" - they invoke the same response that they would in the browser. Links, bookmarks, marquees, and client scripts are all live. When the control is in Browse mode, clicking on a link will launch an instance of the browser.

In Browse mode, the Modified property is always set to False, even if it was True in Edit mode. However, the value of the Modified property is persisted; if Modified was True when the control was switched to Browse mode, it is set back to True again when the control is switched back to Edit mode.