YAYA, I think there is another problem, and I want to ask you about it. Suppose I have the following section:
device=config.exe
device=ConfigP.Mnu /s
rem 0NestMenu=e,u,main menu
rem color=17,c
rem time=30,remaining time
rem caption=
rem caption=
rem caption=
rem caption=3, Chinese MSDOS_7.1 boot disk
rem caption=4,================================================
rem endnote=2,Press the ↑↓ keys or corresponding letter keys to select items, press the space bar to set items
rem endnote=2,Press the → key to select continuously backward, press the ← key to return in sequence, press Enter to exit the menu
rem item=1=.. This is the menu sequence number of the main menu, representing the first menu item, and there are secondary menu options below
rem item=2=.. This is the menu sequence number of the main menu, representing the second menu item, an independent first-level menu option
rem item=3=.. This is the menu sequence number of the main menu, representing the third menu item, an independent first-level menu option
rem 1RadioMenu=,, Secondary menu option of the first item of the main menu
rem item=1=..
rem item=2=..
rem item=3=..
rem item=4=..
rem item=5=..
rem block=1
..
rem block=2
..
rem block=3
..
rem block=4
..
rem block=5
..
rem block=end
fcbshigh=4,0
fileshigh=30
buffershigh=30,0
lastdrivehigh=32
stackshigh=9,256
device=ConfigP.Mnu /u
Now the problem is that there are only three major items in the main menu, and only the first main menu item has a subordinate nested submenu. The second and third items have no subordinate menus. When I select the first item, I can normally jump to the subordinate menu, but the second and third items do not need to jump and directly execute the commands of the block. But ITEM=2,3=, that is the block command of the submenu. I need to execute the block of the main menu!
Then how to represent this? In your description, it is written like this: "
6. Item
rem item=2=....
rem DefaultItem=2,11=....
Number For nested menus, it is the menu sequence number (open the second page menu)
For radio menus, check menus, it is the configuration block sequence number (including the second, 11 configuration blocks)"
This is a bit confusing. How should the block of the main menu be represented??
This is my personal opinion. I don't know if there is a problem in my expression, or if I still have unclear usage of the program. I hope大侠 YAYA will reply!
[ Last edited by hulongzhuo on 2007-5-14 at 02:23 PM ]