要使用快捷菜单,你需要使用menu item对象填充ContextMenuItems集合,调整一些可视化样式,至少添加一个控件到BoundControls集合中。
For the context menu to work, you need to fill the ContextMenuItems collection with menu item objects, adjust some visual styles, and add at least one control to the BoundControls collection.
其中某些命令还可以从“对象”和“成员”窗格的快捷菜单中获得。
Some of these commands are also available from shortcut menus in the Object and Members panes.
按此键可以显示光标选中项目的上下文的菜单和该对象的属性,也就是可以显示项目的快捷菜单。
Click here to show the cursor keys to select the menu item of the context and the object attributes, that is, to display the shortcut menu item.
应用推荐