IWorkspaceBox.DisplayFocusFrame

Syntax

DisplayFocusFrame: Boolean;

Description

The DisplayFokusFrame property determines whether the focus is displayed. If the value of this property is True, the focus is displayed, if the value is False, the focus is not displayed. By default value of the property is True.

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;

If the user presses the button after the executing examples with the given settings, he gets the following result:

See also:

IWorkspaceBox