IWorkspaceBox.DisplayFocusFrame

Syntax

DisplayFocusFrame: Boolean;

Description

The DisplayFokusFrame property determines whether the focus is displayed. If this property is set to True, the focus is displayed; if the property is set to False, the focus is not displayed. The property is set to True by default.

Example

The specified example contains a button. On clicking the button the procedure contains the following code:

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Begin

WorkspaceBox1.View.BeginUpdate;

WorkspaceBox1.View.FocusedShape := WorkspaceBox1.View.Workspace.Shapes.Item(1);

WorkspaceBox1.View.EndUpdate;

End Sub Button1OnClick;

After executing the examples with the specified settings, after clicking the button the user gets the following result:

See also:

IWorkspaceBox