官术网_书友最值得收藏!

Time for action – creating a toolbar

To create a toolbar, invoke the context menu on the form and choose Add Tool Bar. Then, drag the New Game action over the toolbar and drop it there. Open a context menu for the toolbar and choose Append Separator. Then, drag the Quit action from the Action Editor and drop it in the toolbar behind the separator. The following figure presents the final layout that you should have now:

What just happened?

Creating toolbars is very similar to creating menus. You first create the container (the toolbar) and then drag-and-drop actions from the action editor. You can even drag an action from the menu bar and drop it on the toolbar and vice versa!

主站蜘蛛池模板: 鄢陵县| 湄潭县| 新和县| 深圳市| 朔州市| 宁城县| 陆丰市| 溧水县| 斗六市| 和政县| 英山县| 得荣县| 连城县| 盈江县| 浦城县| 甘孜| 阆中市| 瑞昌市| 济宁市| 任丘市| 万年县| 三原县| 尚志市| 汝南县| 乌鲁木齐市| 天等县| 革吉县| 晋中市| 多伦县| 博爱县| 铜梁县| 阿图什市| 根河市| 衡阳县| 宣武区| 乌兰县| 温宿县| 仪征市| 盖州市| 碌曲县| 高要市|