TTMSFNCDataGridLookupOptions Class
Keyboard-lookup options: when enabled, typing letters while the grid is focused moves to the first row whose cell text starts with the typed text.
API unit family: TMSFNCDataGridRenderer
Inherits from: TPersistent
Syntax
TTMSFNCDataGridLookupOptions = class(TPersistent)
class PASCALIMPLEMENTATION TTMSFNCDataGridLookupOptions : public System::Classes::TPersistent
Remarks
Reached through the grid's Options.Lookup. Lookup is only active while TTMSFNCDataGridEditingOptions.Enabled is False, because typing otherwise starts editing. HTML tags are stripped from cell text before comparing. Navigation keys clear the accumulated lookup text. The grid fires OnAfterLookup after each lookup.
Related API
Properties
| Name | Description |
|---|---|
| CaseSensitive | When True, the lookup string comparison is case-sensitive. Default is False. |
| Enabled | Enables keyboard lookup. When False, typed characters do not navigate the grid. Default is False. |
| Incremental | When True, each typed character extends the lookup string incrementally; when False, each key press starts a new single-character lookup. Default is True. |
| ResetInterval | Milliseconds of inactivity after which the accumulated lookup string is cleared. Default is 4000 ms. |