• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Customizing Made Easy > Loading Partial Menus

Loading Partial Menus

You can define any portion of a menu file as a separate .MNU file and load that portion of the menu file by itself, allowing it to be dynamically combined with the current loaded menu. This allows a greater degree of flexibility and enables you to create menus that are discipline-specific and that can easily be changed when needed. To illustrate this, let's look at the following menu example:

***POP12
**CUSTOM
ID_MnARCH  [&Architectural]
ID_Walls      [&Walls]^C^C_Mline

***TOOLBARS

**TB_DIMENSION
ID_TbDimensi [_Toolbar("Dimension", _Floating, _Show, 100, 130, 1)]
ID_Dimlinear [_Button("Linear Dimension", ICON_16_DIMLIN,
ICON_16_DIMLIN)]^C^C_dimlinear
ID_Dimaligne [_Button("Aligned Dimension", ICON_16_DIMALI,
ICON_16_DIMALI)]^C^C_dimaligned
ID_Dimordina [_Button("Ordinate Dimension", ICON_16_DIMORD,
ICON_16_DIMORD)]^C^C_dimordinate
             [--]
ID_Dimradius [_Button("Radius Dimension", ICON_16_DIMRAD,
ICON_16_DIMRAD)]^C^C_dimradius
ID_Dimdiamet [_Button("Diameter Dimension", ICON_16_DIMDIA,
ICON_16_DIMDIA)]^C^C_dimdiameter
ID_Dimangula [_Button("Angular Dimension", ICON_16_DIMANG,
ICON_16_DIMANG)]^C^C_dimangular
             [--]
ID_QDim      [_Button("Quick Dimension", ICON_16_QDIM, ICON_16_QDIM)]^C^C_qdim
ID_Dimbaseli [_Button("Baseline Dimension", ICON_16_DIMBAS,
ICON_16_DIMBAS)]^C^C_dimbaseline
ID_Dimcontin [_Button("Continue Dimension", ICON_16_DIMCON,
ICON_16_DIMCON)]^C^C_dimcontinue
             [--]
ID_Leader    [_Button("Quick Leader", ICON_16_QLEADER,
ICON_16_QLEADER)]^C^C_qleader
ID_Tolerance [_Button("Tolerance", ICON_16_TOLERA, ICON_16_TOLERA)]^C^C_tolerance
ID_Dimcenter [_Button("Center Mark", ICON_16_DIMCEN,
ICON_16_DIMCEN)]^C^C_dimcenter
             [--]
ID_Dimedit   [_Button("Dimension Edit", ICON_16_DIMNEW,
ICON_16_DIMNEW)]^C^C_dimedit
ID_Dimtedit  [_Button("Dimension Text Edit", ICON_16_DIMHOM,
ICON_16_DIMHOM)]^C^C_dimtedit
ID_DimUpdate [_Button("Dimension Update", ICON_16_DIMUPD, ICON_16_DIMUPD)]^C^C_-
dimstyle _apply


					  


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint