请问如何使得按纽(button)变成平面化~~而不是原来突出来的样子

解决方案 »

  1.   

    可以使用SpeedButton在Addtional中将SpeedButton的Flat属性设为True即可
      

  2.   

    既然这样,你画个label什么的不就完了,呵呵,然后添加个onclick事件,嗯,蛮好的:)扁平的button,delphi本身是不支持的(我想),可能需要别的第三方控件
      

  3.   

    SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT);
      

  4.   

    SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT);
      

  5.   

    有,你可以收索FlatStyle然后将其安装上即可使用,上面的控件全是平面化的
      

  6.   

    SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT);
      

  7.   

    试一试!
    procedure TForm1.FormCreate(Sender: TObject);
    begin
    SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(suiButton1.Handle, gwl_style) or BS_FLAT);
    end;
      

  8.   

    用speedbutton,把flat属性改成true,就OK了。
      

  9.   

    SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT);
    按这种做法,button好难看
    :(
      

  10.   

    用speedbutton,把flat属性改成true,就OK了。这用最好了,
    和button没有任何区别