首页 > 其他分享 >delphi 【增强型图片组件TcxImage】

delphi 【增强型图片组件TcxImage】

时间:2022-09-03 15:22:43浏览次数:68  
标签:菜单 增强型 delphi --- TcxImage 右键 properties

1.picture属性:加载图片

2.隐藏边框:Style---BorderStyle:=ebsNone

3.设置控件背景色: style---color

4.properties属性设置:

 

 

 

 5.禁用右键菜单.properties---PopupMenuLayout---MenuItems.

  

 

当然你也可以保留你需要的右键菜单,甚至,你还可以自定义一个右键菜单:

 

 

执行代码写在Properties ---  onCustomClick 中

 

效果图:

 

 

标签:菜单,增强型,delphi,---,TcxImage,右键,properties
From: https://www.cnblogs.com/yoooos/p/16652671.html

相关文章