Skip to content

HasFocus Property

Description

The HasFocus property specifies whether the Edit control currently has focus.

Property Type

Read-only property

Syntax (Visual Basic)

Public Property HasFocus() As Boolean

Remarks

The HasFocus property can be tested in the Update event to check whether the edit control has received focus.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.