如何创建子菜单并为其定义索引 [英] How to create a sub menu and define an index for it

查看:183
本文介绍了如何创建子菜单并为其定义索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我对Visual Basic 6.0的菜单编辑器有问题。

当我想制作菜单时菜单编辑器,我插入一些项目,我
得到以下消息:

*菜单控件数组元素必须有索引..

当我给它是一个数字,子菜单项给出以下消息
*菜单控件数组元素必须是连续的并且在同一个
子菜单中。

Plz提供帮助....
谢谢





我尝试过什么:



目前的菜单是:



mnuFile

....& Login

....& Exit

mnuNew ----> (导航到表格)

....& Company

....& Section

....&新信

mnuReport ---> (导航到datareports)

....& SalesTax

........回复制作

.. ......回复制作

....& IncomTax

........回复制作
........回复制作

....& About

解决方案

< blockquote>这里: VB菜单 - 在Visual Basic 6中使用菜单 [ ^ ]


Hi All,

I have a problem with the Menu Editor of Visual Basic 6.0..

When I want to make a menu with the Menu Editor, and I insert some items, I 
get the following message:

    * Menu control array element must have an index..

When I give it a number the the Sub menu items gives the following message
     * Menu control array elements must be contiguous and within the same 
submenu.

Plz provide help....
Thanks



What I have tried:

my current menus are:

mnuFile
....&Login
....&Exit
mnuNew ----> (navigate to the forms)
....&Company
....&Section
....&New-Letter
mnuReport ---> (navigate to the datareports)
....&SalesTax
........Reply-Made
........Reply-To-Be-Made
....&IncomTax
........Reply-Made
........Reply-To-Be-Made
....&About

解决方案

Here: VB Menu - Working with Menus in Visual Basic 6[^]


这篇关于如何创建子菜单并为其定义索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆