procedure KeyDown(var Key: Word; Shift: TShiftState); override;
DYNAMIC void __fastcall KeyDown(System::Word &Key, System::Classes::TShiftState Shift);
Responds when the user presses a key.
KeyDown handles keyboard navigation among the colors in the grid. Press the F key or the B key to set the currently selected color as the foreground color or background color, respectively. Press the arrow keys, home and insert keys to navigate by keyboard through the colors in the grid. The currently selected color is bordered by a rectangle. Press Enter to reset the foreground and background to the first color in the grid.