zeroone

隐藏菜单栏左边的竖线和右边的箭头?

1、隐藏菜单栏上右边的箭头属性设置:OptionsBar=>>AllowQuickCustomization=False

2、隐藏菜单栏左边的竖线属性设置:OptionsBar=>>DrawDragBorder=False

3、工具栏和状态栏上右边的箭头隐藏设置,和菜单栏一样。

如何使用imageList里的图片?

1、选中barManager设置属性:Images和LargeImages属性都设置成imageList

2、选中要设置的barSubItem:PaintStyle=CaptionGlyph,ImageIndex=选择图片

 

 

一,在bar的属性中有optionbar,可以做一些设置.

其中比较有用的是:
1,去掉最右边的箭头:allowquickcustomization 改为false

2,去掉最左边的竖线:drawdragborder 改为false

二,如何使toolbar显示图标

方法之一是:放一个imagelist,里面放一些图

在toolbar里建立一个barbuttonitem,然后选中这个item,在属性里为其imageindex分配一个imagelist里的图,

三,如何使statusbar里的各项可以自定义宽度

使用statictext,把autosize改为none,然后即可调整width

四,取消右键菜单

barmanager的属性中有AllowShowToolbarsPopup,改为false即可。

分类:

技术点:

相关文章:

  • 2022-02-09
  • 2022-12-23
  • 2021-10-20
  • 2022-02-09
  • 2022-12-23
  • 2021-11-15
  • 2021-08-05
猜你喜欢
  • 2022-01-03
  • 2021-07-09
  • 2021-10-02
  • 2021-11-25
  • 2022-12-23
相关资源
相似解决方案