看看你的StatusBar1的simpletext的属性是否设置为True了
(是simpletext还是simplepanel什么的我记不清了,反正应该是这个属性)

解决方案 »

  1.   

    没有啊,STATTUSBAR 已经分割成两半了
      

  2.   

    窗体的 KeyPerview:=True;
      

  3.   

    //建议用in
    procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
      Shift: TShiftState);
    begin
      if ssShift in Shift then
        StatusBar1.Panels[0].Text := 'Shift';
      if ssAlt in Shift then
        StatusBar1.Panels[1].Text := 'Alt';
    end;
      

  4.   

    直接设置各个Panel的Text看看是否有显示(在设计期完成)
      

  5.   

    窗体的keypreview 要设为true.
      

  6.   

    窗体的 KeyPerview:=True;
    窗体的 KeyPerview:=True;
    窗体的 KeyPerview:=True;
    窗体的 KeyPerview:=True;
    窗体的 KeyPerview:=True;