Enabledproperty
Returns or sets a value that determines whether a form or control can respond to user-generated events. Visual Basic only?
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
PROPERTY Enabled () AS BOOLEAN
PROPERTY Enabled (BYVAL bEnabled AS BOOLEAN)
Parameters
| Name | Description | |
|---|---|---|
bEnabled | True (Default): The user can interact with the grid, select cells, and trigger events. False: The grid is "locked." It will not respond to mouse or keyboard input. |
Description
Determines whether the grid can respond to user-generated events such as mouse clicks, keyboard navigation, or scrolling.
Example
' To disable and show a visual change: grif.Enabled = False grid.ForeColor = vbGrayText grid.BackColor = vbButtonFace
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid