Skip to content

Focusable Property

Description

Specifies whether the GridRecordItem can have focus.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property Focusable() As Boolean

Remarks

This will override the FocusSubItems setting, which only allows individual items to receive focus. The Focusable property specifies whether the item can receive focus. If set to False, the item cannot be edited, and combo or expand buttons will not be displayed.

Example

Dim Record As GridRecord  
Dim Item As GridRecordItem  

' Add an item to the Record  
Set Item = Record.AddItem("RE: Sales Question")  

' Specifies that the GridRecordItem cannot receive focus  
Item.Focusable = False

See Also

GridRecordItem Object


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