请问如何使得按纽(button)变成平面化~~而不是原来突出来的样子 请问如何使得按纽(button)变成平面化~~而不是原来突出来的样子 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以使用SpeedButton在Addtional中将SpeedButton的Flat属性设为True即可 既然这样,你画个label什么的不就完了,呵呵,然后添加个onclick事件,嗯,蛮好的:)扁平的button,delphi本身是不支持的(我想),可能需要别的第三方控件 SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT); SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT); 有,你可以收索FlatStyle然后将其安装上即可使用,上面的控件全是平面化的 SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT); 试一试!procedure TForm1.FormCreate(Sender: TObject);beginSetWindowLong(Button1.Handle, gwl_style, GetWindowLong(suiButton1.Handle, gwl_style) or BS_FLAT);end; 用speedbutton,把flat属性改成true,就OK了。 SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(Button1.Handle, gwl_style) or BS_FLAT);按这种做法,button好难看:( 用speedbutton,把flat属性改成true,就OK了。这用最好了,和button没有任何区别 电脑网络正常,程序里面却无法连接,怎么回事? 我们区的大标题是否要改改了...XD 请问,如何用程序封掉端口 急!!!!!再线等待 怎样判断系统是否安装有打印机 挑战智商:这个问题我已详细给图并说明,最关键的是红色字体部分不能解决,请大虾提供解决方法!! dbgrideh关于bit字段的问题 cobi(我是小新,我只有5岁):需要实现打印预览的例子 如何在windows2000的计划任务中添加关机功能? 如何将客户端程序的服务器上 我的程序用到了ADO,并用msjet读dbf文件,用wise打包后,在干净的win98下安装,运行时出错 请教如何安装 COM 组件?
procedure TForm1.FormCreate(Sender: TObject);
begin
SetWindowLong(Button1.Handle, gwl_style, GetWindowLong(suiButton1.Handle, gwl_style) or BS_FLAT);
end;
按这种做法,button好难看
:(
和button没有任何区别