產(chǎn)生:在TdxBarManager添加的toolbar添加TdxBarSerparator時(shí)產(chǎn)生
解決:a separator item (TdxBarSeparator) is an item separator in context menus and submenus. It cannot be added to toolbars--》一個(gè)分離器項(xiàng)(TdxBarSeparator)是在上下文菜單和子菜單項(xiàng)分隔符,它不能被添加到工具欄。
 正確的方式是:To accomplish this at design time, select a bar item before which the separator should be displayed, invoke the item's context menu and enable the "Begin a Group" option within it. --》在設(shè)計(jì)階段,選中你要新添加分隔符的位置的后一個(gè)bar item,右鍵打開(kāi)它的上下文菜單,如圖,選擇 “Begin a Group”就可以了。
 還有一種方法,直接鼠標(biāo)選中你要新分隔符的位置的后一個(gè)bar item不放,將其向后拖一下,就會(huì)出現(xiàn)一個(gè)分隔符。不過(guò)這個(gè)方法有人說(shuō)這不是一個(gè)推薦的方法。