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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...