Skip to content

TrapTabKey Property

Description

Specifies whether the TAB key will invoke the BeginEdit event when an item begins to be edited by the user. This allows the application to trap the TAB key press instead of the grid's internal edit controls consuming this message.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property TrapTabKey() As Boolean

Remarks

With this flag set, in the case of AllowEdit = True and EditOnClick = True, a mouse click will immediately open the combo box or start editing in an edit box. However, a TAB key press will simply select the next item without a call to BeginEdit, allowing the application to trap this move and perform an action.

See Also


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