Jump to content

OnKeyDown Event In TUniDBTreeGrid Does Not Recognize VK_DELETE


Frederick

Recommended Posts

In the OnKeyDown event of a TUniDBTreeGrid, I have the following code:-

procedure TMainForm.treGridKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
   if Key=VK_DELETE then
      showmessage('here');
end;

The message is not shown when I press the Delete key.

In TUniDBGrid, this works.

How do I get the Delete key to be recognized in the TUniDBTreeGrid component?

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1541)
 

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...