I was trying to introduce keyboard navigation to the TMSWeb_Dataset.dpr project of the TMS Web Core demo.
I created a procedure for the event OnKeyDown and I wrote :
procedure TForm1.WebFormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
if WebClientConnection1.Active then
case Key of
In the Chrome debugger I have added a breakpoint in the line "if WebClientConnection1.Active then", but I have seen that the debugger never stop here.
I have seen that there is not any KeyPreview as in a VCL Form.
What can I do to give keyboard navigation to the Form?.
There is at this time not an equivalent to the VCL TForm KeyPreview functionality.
We'll need to investigate if it can be technically feasible to add such feature as at first sight, this isn't trivial to do.