ABB LDMUI-001 61320946C
命令欄要么是現(xiàn)成的,如TpsForm,要么用作單獨(dú)的
工具箱中提供的控件。如果命令欄是現(xiàn)成的,那么設(shè)計(jì)
通過修改TpsForm的MainMenu屬性來完成。如果單獨(dú)使用
控件,您可以通過修改其自己的財(cái)產(chǎn)來設(shè)計(jì)它。除此之外,沒有
控制設(shè)計(jì)的方式不同。
需要記住的一件重要事情是,您必須手動添加代碼
控制單擊菜單項(xiàng)時(shí)發(fā)生的情況,因?yàn)闆]有事件
財(cái)產(chǎn)在其財(cái)產(chǎn)窗口中可用。
第一個(gè)列表的復(fù)選框設(shè)置為true。要顯示列,視圖必須
設(shè)置為“詳細(xì)信息”。通過選擇列并添加任何
ColumnHeader集合編輯器中的列數(shù)。已滾動
設(shè)置為true可以滾動列表查看所有項(xiàng)目。擁有電流
顯示的列表項(xiàng)目數(shù)ShowNumberOfItems已設(shè)置為true。通過使用
對列表項(xiàng)進(jìn)行排序可以按字母順序進(jìn)行,在本例中為降序
順序該列表是使用Items屬性靜態(tài)填充的。
另一個(gè)列表的View屬性設(shè)置為LargeIcon,而不是Details。要顯示
圖標(biāo)使用標(biāo)準(zhǔn)的.Net ImageList。首先啟動“財(cái)產(chǎn)”窗口
用于ImageList,并添加要使用的圖像。



The command bar is either ready-made, as for TpsForm, or used as a separate
control available from the toolbox. If the command bar is ready-made, the design
of it is done by modifying the MainMenu property of TpsForm. If used asaseparate
control, you design it by modifying its own properties. Apart from this, there is no
difference in how you control the design.
An important thing to remember is that you have to manually add the code
controlling that will happen when you click a menu item, as there are no event
properties available in its Properties window.
The first list has CheckBoxes set to true. To have columns displayed View must
be set to Details. The columns are created by selecting Columns and adding any
number of columns in the ColumnHeader Collection Editor. Scrollable has been
set to true to enable you to scroll the list to see all items. To have the current
number of list items displayed ShowNumberOfItems has been set to true. By using
Sorting the list items can be alphabetically sorted, in this case in Descending
order. The list is statically populated, using the Items property.
The View property of the other list is set to LargeIcon instead of Details. To display
icons a standard .Net ImageList is used. You first launch the Properties window
for the ImageList and add the images you want to use.?
ABB 8025-235 1個(gè) 備貨
ABB G3ESa?HENF318736R1 1個(gè) 備貨
ABB E3EB?HENF315129R1 1個(gè) 備貨
ABB O3ES?HENF445789R1 1個(gè) 備貨
ABB O3ED 1個(gè) 備貨
ABB O3EGb?HENF315118R2 1個(gè) 備貨
ABB E3EP?HENF315276R1 1個(gè) 備貨
ABB E3ED 1個(gè) 備貨
ABB O3EHa?HENF315087R2 1個(gè) 備貨
ABB O3EC?HENF442581R1 1個(gè) 備貨
ABB P5EAa?HENF206350R2 1個(gè) 備貨
ABB G3ENa?HENF450268R2 1個(gè) 備貨
ABB INICT01? 3個(gè) 備貨
ABB NTLS01?? 2個(gè) 備貨
ABB NTR002-A 1個(gè) 備貨
ABB NIMP01 2個(gè) 備貨
ABB IISAC01 1個(gè) 備貨
ABB P3EB?HENF315223R1 1個(gè) 備貨
ABB O3EX?HENF315845R2 1個(gè) 備貨
ABB P3EDb?HENF452778R1 1個(gè) 備貨
ABB E3ES 1個(gè) 備貨
ABB B3EA?HENF315147R1 1個(gè) 備貨
ABB P3EA?HENF315216R1 1個(gè) 備貨
ABB NWX511a-2/R?HESG112548R12 1個(gè) 備貨
ABB P3ECa?HENF315309R2 1個(gè) 備貨
ABB O3EId?HENF452777R3 1個(gè) 備貨
ABB E5EAA?HENF105240R1 1個(gè) 備貨
ABB B5EEd?HENF105082R4 1個(gè) 備貨
ABB G3EFa?HENF450295R2 1個(gè) 備貨
ABB G3EB?HENF315768R1 1個(gè) 備貨
ABB G3FK?HENF452878R1 1個(gè) 備貨
ABB G3FCb?HENF458568R1 1個(gè) 備貨
ABB E3EFa?HENF452750R1 1個(gè) 備貨
ABB B5EC?HENF105077R1 1個(gè) 備貨
ABB O3EEb?HENF318176R1 1個(gè) 備貨
ABB E3EC?HENF315125R1 1個(gè) 備貨
ABB G3EA?HENF315754R1 1個(gè) 備貨
ABB G3FD?HENF452692R1 1個(gè) 備貨
ABB G3FE?HENF452697R1 1個(gè) 備貨
ABB IEPU02 1個(gè) 備貨---框架
ABB BDD110?HNLP205879R1 1個(gè) 備貨
ABB NSSM01 1個(gè) 備貨