终于搞定了往button上添加背景图!
delphi吧
全部回复
仅看楼主
level 8
ooooh_up 楼主
xe8的stylebook有时很令人头痛,往button上添加背景图后,button无响应。最终发现是image.HitTest要取消。
下面将相关过程记录。
新建多设备工程
2015年11月06日 08点11分 1
吧务
level 14
啊?你才知道这个啊?
2015年11月06日 08点11分 2
[泪]没有什么相关资料啊
2015年11月06日 09点11分
@ooooh_up 群共享里好像有吧。小豆豆写的,如果没有,那就只能去 皮肤交流群 去问了。
2015年11月06日 09点11分
level 8
ooooh_up 楼主
选择一个空白程序并添加button
2015年11月06日 08点11分 4
level 8
ooooh_up 楼主
右键点button并选择edit custom style
2015年11月06日 08点11分 5
level 8
ooooh_up 楼主
在左上控件树状窗口选button1style1,反正button什么名就找回它选中,在右下控件窗口选image,将image控件拖到button1style1中
2015年11月06日 09点11分 6
level 8
ooooh_up 楼主
在左上树状窗口选中image1style,设置对齐方式,勾掉HitTest
2015年11月06日 09点11分 7
level 8
ooooh_up 楼主
在image1style中双击MultiBigmap项目插入你自已的图片
2015年11月06日 09点11分 8
level 8
ooooh_up 楼主
最后不要忘记保存,点击Apply and Close
2015年11月06日 09点11分 9
level 8
ooooh_up 楼主
这样就可以将button设计成好多样式
2015年11月06日 09点11分 10
1