ClickableCursor

Class: TEgDBGridEx

property ClickableCursor: TCursor default crDefault;

Cursor shown while the mouse hovers a data-cell checkbox or ImageIndex icon that can actually be clicked. crDefault (the default) leaves the feature off entirely - the grid’s ordinary cursor behavior is unchanged. Any other TCursor value, predefined or a custom one registered into Screen.Cursors[], is shown over a hoverable checkbox/icon and reverts to crDefault as soon as the mouse leaves it.

Scope is data cells only: a column’s data-cell checkbox and its ImageIndex icon. The title row (sort arrow, title image) and the corner image (CornerImageIndex) always use this same grid-level value directly and are not affected by a column’s own override - see TEgColumn.ClickableCursor, which is scoped to that column’s data cells only, for the same reason.

The cursor never appears over a checkbox that cannot actually be toggled: Self.ReadOnly, Column.ReadOnly, or Column.Field.ReadOnly all suppress it, matching the same guard the native checkbox click already applies. With dgRowSelect in Options (inherited from TDBGrid), the cursor only changes over a checkbox or data-cell image when ClicksOnRowSelect (grid or column) says that click still counts - a cursor promising a click that would be ignored is misleading, so it stays crDefault instead.

See Also

(C) 2026 Easygate, Lda