设置控件的hint属性
还有showhint设为真,就可以了。

解决方案 »

  1.   

    button1.showhint:=True;
    button1.hint:='这是一个button';
      

  2.   

    设置控件的hint属性
    还有showhint设为真,就可以了。来晚了至于在状态栏里显示,看看以前的帖子,必有所获!
      

  3.   

    不是啊,我就是不愿意showhint为真,只要hint的内容在statubar里面显示。
      

  4.   

    对立一个过程procedure MouseMove(参数与onmousemove事件参数同);
    窗口建立时将窗口上所有控件的onmousemove事件指向过程MouseMove.
    for i:=0 to self.componentcount-1 do
      if self.components[i] is TControl then
      try 
        self.components[i].onmousemove:=MouseMove;
      except
      end;