Skip to main content

TdxOcNode.Focused Method

Identifies whether the node has focus.

Declaration

function Focused: Boolean;

Returns

Type
Boolean

Remarks

This function returns True if the node has input focus; otherwise — False. The focused node is highlighted and/or marked with a dashed rectangle if the ocSelect and/or ocFocus flags are set to the control’s Options property. Add the ocEdit flag to it to edit the focused node.

See Also