看看:
http://www.csdn.net/expert/topic/415/415248.xml

解决方案 »

  1.   

    OnKeyDown:if (Key = VK_DOWN) then
    ...
      

  2.   

    首先设置Form1.KeyPreview:=true,然后在Form1.OnKeyDown事件中编写:
    if (Key = VK_DOWN) then
    begin
       do something
    end
    else if (Key = VK_UP) then
    begin
       do something
    end;
      

  3.   

    这是普通的鼠标事件,只不过要定义一下按钮是vk_up,vk_down等~
      

  4.   

    if (Key = VK_DOWN) then
    begin
    .......
    end
    else if (Key = VK_UP) then
    begin
    ........
      

  5.   

    寻找这些功能键的ASCII,然后用if...then...语句将其构成.
    在dlephi中加入汇编也可以达到目的,这样可以使你的程序变得很小(但我不会).