home *** CD-ROM | disk | FTP | other *** search
/ TestDrive Super Store 2.3 / TESTDRIVE_2.ISO / truecad / truecad.men < prev   
Encoding:
Text File  |  1994-02-22  |  27.8 KB  |  478 lines

  1. // choice menu
  2. // the # before a command name indicates a transparent command that will not
  3. // terminate other commands
  4. // func    posn  Bitmapname      Macro function name(lbut, rbut)
  5. POPUPMENU  0   "Pan"       {#pan;}           {#pan;}     {Pan across screen;}
  6. POPUPMENU  1   "Redraw"   {#refresh;}       {#redraw;} {Left: Refresh screen at current scale Right:Redraw entire drawing;}
  7. POPUPMENU  2   "SplitWin"  {#splitwin;}      {#joinwin;}    {Left: Split window. Right: Join windows;}
  8. POPUPMENU  3   "Zoom"      {#zoom;}          {#zoom "A";}   {Left: Zoom menu. Right: Zoom all;}
  9.  
  10. POPUPMENU  5   "SetSquare" {#cursorhold;}    {#lockang "L";} {Left: Toggle cursor hold. Right: Lock cursor to a line;}
  11.  
  12.  
  13. POPUPMENU  6   "a_up"       {#a_up;}          {#a_up;}       {Move up;}
  14. POPUPMENU  7   "demag"      {#demag;}         {#demag;}      {Demagnify;}
  15.  
  16. POPUPMENU  8   "LongPan"    {#longpan;}       {#longpan;}    {Long pan across windows;}
  17. POPUPMENU  9   "a_left"     {#a_left;}        {#a_left;}     {Move left;}
  18. POPUPMENU 10   "magnify"         {#magnify;}       {#chmag;}      {Left: Magnify. Right: Change magnification factor;}
  19. POPUPMENU 11   "a_right"         {#a_right;}       {#a_right;} {Move right;}
  20. POPUPMENU 12   "polar"           {#polar;}         {#curtocoord;}   {Left: Polar move. Right: Move to coordinates;}
  21.  
  22. POPUPMENU 14   "a_down"          {#a_down;}        {#a_down;}     {Move down;}
  23. POPUPMENU 15   "done"            {#done;}   {#done;}    {Done (Quit current operation);}
  24.  
  25. // menus down side of screen
  26. ICONMENU   0   "select"       {selectnormal;}   {selectdef;}   {Left: Select single entity. Right: Select multiple and use filters.;}
  27. ICONMENU   1   "node"         {selectnodes;}    {clearsel;}    {Left: Select Object Nodes. Right: Clear selection;}
  28. ICONMENU   2   "ptptline"     {ptline;}         {#linetype;}   {Left: Draw individual point to point lines. Right: Change line defaults.;}
  29. ICONMENU   3   "line"         {line;}           {#linetype;}   {Left: Draw lines. Right: Change line defaults.;}
  30. ICONMENU   4   "circle"       {cir;}            {cirdia;}   {Left: Circle by two points. Right: Up to 5 concentric circles by diameter.;}
  31. ICONMENU   5   "rectang"      {rect;}           {exec "polygon";}   {Left: Draw a rectangle. Right: Draw a polygon;}
  32. ICONMENU   6   "text"         {text;}           {#textdef;}   {Left: Draw text. Right: Set text defaults.;}
  33. ICONMENU   7   "align"        {align;}          {setalign;}   {Left: Align Selected. Right: Set alignment defaults;}
  34. ICONMENU   8   "parll"        {parlline;}       {parll1;}     {Left: Draw multiple parallel lines. Right: Draw single parallel line.;}
  35. ICONMENU   9   "stretch"      {stretch "Y";}    {stretch "N";} {Left: Stretch all. Right: Stretch Selected;}
  36. ICONMENU  10   "SetSquare"    {#cursorhold;}    {#lockang "L";} {Left: Toggle cursor hold. Right: Lock angle to a line.;}
  37. ICONMENU  11   "trim"         {trim 2 ! 0;}     {trim 1 ! 0;} {Left: Trim 2 lines/arcs. Right: Trim one line onto another;}
  38. ICONMENU  12   "fromfile"     {load;}           {loadgeom;}   {Left: Load a drawing. Right: Load a geometry file.;}
  39. ICONMENU  13   "tofile"       {save;}           {storegeom;}  {Left: Save this drawing. Right: Save geometry from this drawing.;}
  40. ICONMENU  14   "Zoom"         {#zoom;}          {#zoom "A";}  {Left: Zoom menu. Right: Zoom all.;}
  41. ICONMENU  15   "Redraw"       {#refresh;}       {#redraw;}    {Left: Refresh screen at current scale. Right: Redraw entire drawing.;}
  42. ICONMENU  16   "eraser"       {delselect;}      {delselect;}  {Delete selected.;}
  43. ICONMENU  17   "undo"         {#undo;}          {#redo;}      {Left: Undo last operation. Right: Redo.;}
  44. ICONMENU  20   "FreeHand" {#curmode "F";}   {#togglebigcursor;} {Left: Change snap mode to Freehand. Right: Big cursor;}
  45. ICONMENU  21   "Graball"  {#curmode "A";}   {#curmode "A";} {Change snap mode to Graball.;}
  46. ICONMENU  22   "Jump"     {#curmode "J";}   {#curmode "J";} {Change snap mode to nearest Point.;}
  47. ICONMENU  23   "Nearline" {#curmode "N";}   {#curmode "N";} {Change snap mode to nearest Element.;}
  48.  
  49. // main top bar menu
  50. MAINMENU
  51. BEGIN
  52.    POPUP "&File"
  53.    BEGIN
  54.         MENUITEM    "&New"            {delall;}    {Clear drawing memory;}
  55.         MENUITEM    "&Open...\tCtrl+F12" {load;}   {Load a drawing from disk;}
  56.         POPUP       "&Load"   {dummy;}     {more load stuff;}               
  57.          BEGIN
  58.          MENUITEM    "L&oad Layers..." {loadlay;}  {Load only specified layers;}
  59.          MENUITEM    "Load &Geom..."   {loadgeom;} {Load geometry from a geometry file;}
  60.          MENUITEM    "Load &Bitmap..." {loadbitmap;} {Load a .BMP file;}
  61.          END
  62.         MENUITEM    SEPARATOR
  63.         MENUITEM    "&Save...\tShift+F12"        {save;}  {Save this drawing;}
  64.         MENUITEM    "Save &As...\tF12" {store;} {Save drawing under a new name;}
  65.         POPUP       "Sa&ve Options"   {dummy;} {Extended save commands;}               
  66.            BEGIN
  67.            MENUITEM  "&Save Settings..."    {autosavedlg;}    {Set parameters for Saving Drawings;}
  68.            MENUITEM  "&Edit Description..." {descrip;} {Edit drawing description;}
  69.            MENUITEM  "Save Sele&cted..."    {storews;} {Save only selected portion of a drawing;}
  70.            MENUITEM  "Save La&yer..."  {storelay;}  {Save just specified layers;}
  71.            MENUITEM  "Save &Visible..." {storevis;}  {Save just visible layers;}
  72.            MENUITEM  "Save &Geometry..." {storegeom;} {Save geometry to a file;}
  73.            END
  74.         MENUITEM    SEPARATOR
  75.         MENUITEM    "Load S&ymbol file" {newsymfl;}   {Load any drawing as a symbol file;}
  76.     POPUP "&Import / Export"
  77.     BEGIN
  78.         MENUITEM "Import &HPGL" {importexp "H";} {Import an HPGL file.;}
  79.         MENUITEM "Import &DXF"  {importexp "D";} {Import a DXF file.;}
  80.         MENUITEM "Import &ASCII"  {importexp "A";} {Import an ASCII file.;}
  81.         MENUITEM SEPARATOR
  82.         MENUITEM "E&xport DXF" {importexp "X";} {Export a DXF file;}
  83.         MENUITEM "Export &Macro" {importexp "M";} {Export entire drawing as a set of macros;}
  84.         MENUITEM "Export T&ext" {importexp "T";} {Export text in drawing to an ASCII file;}
  85.     END
  86.         MENUITEM    SEPARATOR
  87.         MENUITEM    "&Print...\tCtrl+Shift+F12"  {hardcopy;}    {Print or plot the drawing;}
  88.         MENUITEM    "&Zoom Print..."  {zoomplot;}  {Print or plot a section of the drawing;}
  89.         MENUITEM    "P&rint Setup..."   {printsetup;}  {Setup printer;}
  90.         MENUITEM    SEPARATOR
  91.         MENUITEM    "&Exec Macro"         {exec ;}       {Execute a macro file;}
  92.         MENUITEM    SEPARATOR
  93.         MENUITEM    "E&xit\tAlt+F4"       {quit;}        {Quit TrueCAD ;}
  94.    END
  95.    POPUP "&Edit"
  96.    BEGIN
  97.         MENUITEM    "&Undo\tCtrl+Z"    {Undo;}     {Undo last operation;}
  98.         MENUITEM    "&Redo"            {Redo;}     {Redo last undo;}
  99.         MENUITEM    SEPARATOR
  100.         MENUITEM    "Cu&t\tCtrl+X"     {Cut;}      {Cut selected to clipboard;}
  101.         MENUITEM    "&Copy\tCtrl+C"    {Copy;}     {Copy selected to clipboard;}
  102.         MENUITEM    "&Paste\tCtrl+V"   {paste;}    {Paste from clipboard;}
  103.         MENUITEM    "&Delete\tDel"     {delselect;}   {Delete selected;}
  104.         MENUITEM    SEPARATOR
  105.         MENUITEM    "&Select"            {select;} {Select single objects;}
  106.         MENUITEM    "Select by Pol&ygon" {selectpoly;} {Select by polygon;}
  107.         MENUITEM    "Selection &Filters..." {selectdef;} {Set filters for selection;}
  108.         MENUITEM    "C&lear Selection"   {clearsel;}  {Clear selection set;}
  109.         MENUITEM    SEPARATOR
  110.         MENUITEM    "Select &Normal"     {selectnormal;} {Normal selection mode;}
  111.         MENUITEM    "Select No&des"      {selectnodes;}  {Select and drag nodes (end points);}
  112.    END
  113.    POPUP "&View"
  114.    BEGIN
  115.         MENUITEM    "Zoom &Window"    {#zoom "W";}   {Zoom window;}
  116.         MENUITEM    "Zoom L&ast"      {#zoom "L";}   {Return to last zoom;}
  117.         MENUITEM    "Zoom &Next"      {#zoom "N";}   {Forward in sequence of remembered Zooms;}
  118.         MENUITEM    "&Zoom All\tZ"       {#zoom "A";}   {Zoom everything drawn;}
  119.         MENUITEM    "Zoom Paper &Size\tS"     {#redraw;}     {Zoom to extents of currently selected paper;}
  120.         MENUITEM    "Zoom S&caled"    {#zoom "S";}   {Zoom to a specific scale;}
  121.         MENUITEM    "Zoom S&elected"  {#zoom "E";}   {Zoom to a selection set;}
  122.         POPUP    "Zoom &View"  
  123.     BEGIN
  124.         MENUITEM    "&0"   {#zoom "V" "0";} {Zoom to View 0;}
  125.         MENUITEM    "&1"   {#zoom "V" "1";} {Zoom to View 1;}
  126.         MENUITEM    "&2"   {#zoom "V" "2";} {Zoom to View 2;}
  127.         MENUITEM    "&3"   {#zoom "V" "3";} {Zoom to View 3;}
  128.         MENUITEM    "&4"   {#zoom "V" "4";} {Zoom to View 4;}
  129.         MENUITEM    "&5"   {#zoom "V" "5";} {Zoom to View 5;}
  130.         MENUITEM    "&6"   {#zoom "V" "6";} {Zoom to View 6;}
  131.         MENUITEM    "&7"   {#zoom "V" "7";} {Zoom to View 7;}
  132.         MENUITEM    "&8"   {#zoom "V" "8";} {Zoom to View 8;}
  133.         MENUITEM    "&9"   {#zoom "V" "9";} {Zoom to View 9;}
  134.     END
  135.         POPUP    "&Define Zoom View"  
  136.     BEGIN
  137.         MENUITEM    "&0"   {#zoom "D" "0";} {Define Zoom View 0;}
  138.         MENUITEM    "&1"   {#zoom "D" "1";} {Define Zoom View 1;}
  139.         MENUITEM    "&2"   {#zoom "D" "2";} {Define Zoom View 2;}
  140.         MENUITEM    "&3"   {#zoom "D" "3";} {Define Zoom View 3;}
  141.         MENUITEM    "&4"   {#zoom "D" "4";} {Define Zoom View 4;}
  142.         MENUITEM    "&5"   {#zoom "D" "5";} {Define Zoom View 5;}
  143.         MENUITEM    "&6"   {#zoom "D" "6";} {Define Zoom View 6;}
  144.         MENUITEM    "&7"   {#zoom "D" "7";} {Define Zoom View 7;}
  145.         MENUITEM    "&8"   {#zoom "D" "8";} {Define Zoom View 8;}
  146.         MENUITEM    "&9"   {#zoom "D" "9";} {Define Zoom View 9;}
  147.     END
  148.         MENUITEM    SEPARATOR
  149.     MENUITEM    "&Magnify\tM"    {#magnify;}   {Zoom in at cursor location;}
  150.     MENUITEM    "&Demagnify\tD"  {#demag;} {Zoom out at cursor location;}
  151.         MENUITEM    "&Pan\tP"        {#pan;}   {Pan cursor to center of screen;}
  152.         MENUITEM    "&Long Pan\tL"    {#longpan;}  {Pan with pan box;}
  153.         MENUITEM    "&Redraw\tR"      {#refresh;}   {Refresh screen at current scale;}
  154.         MENUITEM    SEPARATOR
  155.         MENUITEM    "Spli&t Window\t["   {#splitwin;}   {Split drawing window;}
  156.         MENUITEM    "&Join Window\t]"    {#joinwin;}    {Join two windows;}
  157.    END
  158.    POPUP "&Draw"
  159.    BEGIN
  160.         MENUITEM    "&Line (Chained)"     {line;}     {Draw joined lines;}
  161.         MENUITEM    "Lines (&Pt to Pt)"   {ptline;}   {Draw a line, lift the pen, draw another line;}
  162.         MENUITEM    "P&oint"         {point;}    {Draw a point;}
  163.         MENUITEM    "Rec&tangle"     {rect;}     {Draw a rectangle;}
  164.         MENUITEM    "&Arc 3 Point"   {arc;}      {Draw an arc by three points;}
  165.         MENUITEM    "Arc &Radius"    {arcr;}     {Draw an arc by beginning and end points and radius;}
  166.         MENUITEM    "&Circle"        {cir;}      {Draw a circle by center point and point on diameter;}
  167.         MENUITEM    "Circle &Diameter"   {cirdia;}  {Draw up to 5 concentric circles by diameter;}
  168.         MENUITEM    "L&ine Arc Line"  {bentline;}    {Draw line-arc-line with variable arc radii;}
  169.         MENUITEM    SEPARATOR
  170.         MENUITEM    "Parallel Li&ne"  {parlline;}    {Draw multiple parallel lines from the selected line;}
  171.         MENUITEM    "&1 Parallel Element"    {parll1;}      {Draw a single line or arc parallel to an existing element;}
  172.         MENUITEM    SEPARATOR
  173.         POPUP "&Geometry Trace-Over"
  174.            BEGIN
  175.            MENUITEM    "Fill &Geom"     {fillgeom;}    {Draw entities by tracing over geometry lines and circles;}
  176.            MENUITEM    "&Fill Geom Cir" {fillgcir;}    {Draw a circle by tracing over a geometry circle;}
  177.            MENUITEM    "F&ill Geom Arc" {fillgarc;}    {Draw an arc by tracing over a portion of a geometry circle. ;}
  178.            END
  179.         POPUP "&Ellipses"
  180.            BEGIN
  181.            MENUITEM    "Ellip&se"       {ell;}      {Draw an ellipse by centre point, aspect ratio and angle;}
  182.            MENUITEM    "Par&t Ellipse"  {ellbit;}      {Draw a full ellipse, then cut out part of it;}
  183.            END
  184.         POPUP "&Splines"
  185.             BEGIN
  186.             MENUITEM    "Ci&rcular Spline"     {spline;}   {Draw a circular spline composed of arcs (and lines);}
  187.             MENUITEM    "Cu&bic Spline"        {curve;}    {Draw a cubic curve between points composed of many line segments;}
  188.             END
  189.         MENUITEM    "Polygon"             {exec "polygon";}    {Draw a polygon;}
  190.         MENUITEM    "S&ymbol..."          {symbol;}    {Insert previously loaded symbols into a drawing;}
  191.         MENUITEM    "Sketc&h"             {freehand;}    {Freehand drawing (sketch) mode;}
  192.    END
  193.  
  194.    POPUP "&Modify"
  195.    BEGIN
  196.         MENUITEM    "Str&etch"      {stretch;}  {Stretch all or part of the selected entities;}
  197.         MENUITEM    "&Move"         {move;}     {Move the selected entities;}
  198.         MENUITEM    "Move &Point"   {exec ".\macro\movept";} {Move a point;}
  199.         MENUITEM    "Mirror Ima&ge" {mirror;}   {Create a mirror image of the selected entities;}
  200.         MENUITEM    "Sc&ale"        {scale;}    {Scale the entire selected entities along both axes;}
  201.         MENUITEM    "&Repeat"       {repeat;}   {Create a repeated pattern of the selected entities;}
  202.         MENUITEM    "&Drop"         {drop;}     {Drop one or more copies of the selcted entities;}
  203.         MENUITEM    "R&otate"       {rotate;}   {Rotate the selected entities;}
  204.         MENUITEM    "E&xpand"       {expand;}   {Create an expanded detail of a portion of the drawing;}
  205.         MENUITEM    SEPARATOR
  206.         MENUITEM    "&Trim" {trim;}   {Trim lines or arcs;}
  207.         MENUITEM    "&Fillet" {fillet;}   {Fillet lines or arcs;}
  208.         MENUITEM    "C&hamfer"     {chamfer;}  {Chamfer lines or arcs;}
  209.         MENUITEM    "Di&vide/Extend"      {divide;}   {Divide or extend a line or arc;}
  210.         MENUITEM    "&Join Lines"  {joinline;} {Join two lines into one;}
  211.         MENUITEM    "Cut and Ru&b"       {exec ".\macro\cut&rub";}   {Cut a line and delete the segment;}
  212.         MENUITEM    "&Snip"         {snip;}     {Snip out a box or circle;}
  213.         MENUITEM    SEPARATOR
  214.         MENUITEM    "Move Selected->New la&yer..."     {wsnewlay;} {Move the selected entities to a different layer;}
  215.         MENUITEM    "&Copy Selected->New layer..."     {copytolayer;} {Copy the selected entities to a different layer;}
  216.         MENUITEM    SEPARATOR
  217.         POPUP "Adva&nced"
  218.     BEGIN
  219.         MENUITEM    "Edit Dimension &Properties"    {eddim;}    {Edit existing dimension text or properties;}
  220.         MENUITEM    "Cut Dimension &Line" {cutdimln;} {Cut existing dimension witness line;}
  221.         MENUITEM    "Alter Dimensio&n"   {dimalter;} {Alter entity by changing dimension text;}
  222.         MENUITEM    "&Update Objects"     {renew;}  {Update all objects with the same name as the current object;}
  223.         MENUITEM    "Data &Item"         {editdata;} {Edit existing data item;}
  224.         MENUITEM    "Ellipse&2Arcs" {el2arc;}   {Convert ellipse into 12 arcs;}
  225.     END
  226.    END
  227.  
  228.    POPUP "&Geometry"
  229.    BEGIN
  230.         MENUITEM    "Cr&oss"              {gcross;}    {Draw a geometry cross;}
  231.         MENUITEM    "&Slope Line"         {glineslp;}  {Draw a slope geometry line through a point at a given angle;}
  232.         MENUITEM    "&Pt-Pt Line"         {glinepp;}   {Draw a point to point geometry line;}
  233.         MENUITEM    "Par&allel Line"      {glineprl;}  {Draw a geometry line parallel to another line;}
  234.         MENUITEM    "&Circle"             {gcir;}      {Draw a geometry circle by center and point on circumference;}
  235.         MENUITEM    "Circle &Diameter"    {gcirdia;}   {Draw a geometry circle by center and diameter;}
  236.         MENUITEM    "Circle &Tan LL"      {gctanll;}   {Draw a geometry circle tangent to two lines;}
  237.         MENUITEM    "Circle Tan &LC"      {gctanlc;}   {Draw a geometry circle tangent to a line and a circle;}
  238.         MENUITEM    "Circle Ta&n CC"      {gctancc;}   {Draw a geometry circle tangent to 2 circles;}
  239.         MENUITEM    "Circle Tan &3L"      {gctan3l;}   {Draw a geometry circle tangent to 3 lines;}
  240.         MENUITEM    "Circle Tan LPt&Rad"  {gctanlp;}   {Draw a geometry circle tangent to a line, with a point on the radius;}
  241.         MENUITEM    "Circle Tan CPtRad"   {gctancpt;}  {Draw a geometry circle tangent to a circle, with a point on the radius;}
  242.         MENUITEM    "Circl&e 3 Pt"        {gc3point;}  {Draw a geometry circle through 3 points;}
  243.         MENUITEM    "L&ine Tan C"         {glntanc;}   {Draw a geometry line tangent to a circle;}
  244.         MENUITEM    "Line Tan CC"         {glntancc;}  {Draw a geometry line tangent to 2 circles;}
  245.         MENUITEM    "Perp &Bisector"      {glnperpb;}  {Draw a perpendicular bisector;}
  246.         MENUITEM    SEPARATOR
  247.         MENUITEM    "&Make Geometry"      {makegeom;}  {Copy an existing entity to geometry;}
  248.         MENUITEM    SEPARATOR
  249.         MENUITEM    "Delete &Geometry El" {delgeoel;} {Delete a Single Geometry Element;}
  250.         MENUITEM    "Delete All Geometr&y"  {delgeom;}   {Delete All Geometry;}
  251.    END
  252.    POPUP "&Annotate"
  253.    BEGIN
  254.         MENUITEM    "Add &Text..."           {text;}   {Add text to the drawing;}
  255.         POPUP       "&Edit Text"   
  256.     BEGIN
  257.         MENUITEM "&Edit Text"   {edtext "E";}  {Edit a text object;}
  258.         MENUITEM "&Move Text"   {edtext "M";}  {Move a text object;}
  259.         MENUITEM "&Scale Text"  {edtext "S";}  {Scale a text object;}
  260.         MENUITEM "&Change Text Parameters"  {edtext "C";}  {Change the current text parameters;}
  261.     END
  262.         MENUITEM "&Set Alignment..."  {setalign;}    {Set up alignment defaults;}
  263.         MENUITEM "Ali&gn"             {align;}       {Align selected objects;}
  264.         MENUITEM    SEPARATOR
  265.         POPUP        "&Dimension"
  266.         BEGIN
  267.             MENUITEM    "&Horizontal"     {hdim;}  {Annotate the horizontal dimension of a line;}
  268.             MENUITEM    "&Vertical"       {vdim;}  {Annotate the vertical dimension of a line;}
  269.             MENUITEM    "&Slope"          {sdim;}  {Annotate a line along its slope;}
  270.             MENUITEM    "An&gular"        {adim;}  {Annotate an angle between two lines;}
  271.             MENUITEM    "&Radial"         {rdim;}  {Annotate a circle or arc with radius;}
  272.             MENUITEM    "S&urvey"         {surveydm;} {Annotate a line with distance and bearing;}`
  273.         END
  274.         MENUITEM    SEPARATOR
  275.         MENUITEM    "Add &Arrow"      {arrow;} {Draw an arrow;}
  276.         MENUITEM    "Add &Balloon"    {balloon;} {Enter text in a balloon with an arrow;}
  277.         MENUITEM    "Add/&Rem Text Bubble"   {addrbaln;} {Add or remove a bubble around existing text;}
  278.        POPUP "&Hatch or Solid"
  279.        BEGIN
  280.         MENUITEM    "&Enter Hatch or Solid"           {hatch;}    {Choose a hatch pattern and draw it after choosing a hatch perimeter;}
  281.         MENUITEM    "&Alter Existing Hatch"  {addhatch;} {Change the hatch pattern for an existing entity;}
  282.         MENUITEM    "&Draw All Hatch"        {plothat;}  {Redraw, showing all hatch patterns;}
  283.         MENUITEM    "Draw &Selected Hatch"   {plotwhat;} {Redraw, showing hatching for selected entities;}
  284.         MENUITEM    "&Hatch -> Lines"        {hatchtol;} {Convert a hatch pattern into individual lines;}
  285.        END
  286.         MENUITEM    SEPARATOR
  287.         MENUITEM    "&Label Coord"   {labcoord;} {Create coordinate labels point by point or in a table;}
  288.    END
  289.    
  290.     POPUP "&Tools"
  291.    BEGIN
  292.         POPUP "&Lock Cursor"
  293.       BEGIN
  294.           MENUITEM "&Lock to Line\t^K"     {#lockang "L";} {Choose a line to define the cursor lock angle;}
  295.           MENUITEM "&Jump and Lock Line"   {#lockang "J";} {Jump to a line, and use it to define the cursor lock angle;}
  296.           MENUITEM "Lock &Geom Line"       {#lockang "G";} {Choose a geometry line to define the cursor lock angle;}
  297.           MENUITEM "Lock &Keyboard"        {#lockang "K";} {Lock the cursor to an angle entered from the keyboard;}
  298.           MENUITEM "Perpendic&ular\tU"     {#yperp;} {Toggle the lock angle by 90 degrees from the current setting;}
  299.           MENUITEM "&120 deg"              {#iso120;} {Set the lock angle to 120 degrees for isometric drawing;}
  300.           MENUITEM "&Hold\t+"              {#cursorhold;} {Toggle the cursor angle lock state;}
  301.           MENUITEM SEPARATOR
  302.           MENUITEM "&Unlock\t^U"           {#lockang "U";} {Unlock the cursor from the current angle lock;}
  303.       END   
  304.         POPUP "&Jumps"
  305.       BEGIN
  306.           MENUITEM "Jump to Grab &All Cursor\tA"   {#jumpall;} {Jump to the nearest point inside the graball cursor, if any;}
  307.           MENUITEM "Geom &Intersection\tI"    {#jumpgeom;} {Jump to the nearest geometry intersection;}
  308.           MENUITEM "Jump &Grid\tG"            {#jumpgd;} {Jump to the nearest grid point;}
  309.           MENUITEM "Jump An&y Intersection\tY" {#jumpint;} {Jump to the nearest interesction of any type;}
  310.           MENUITEM "&Jump Point\tJ"           {#jumppt;} {Jump to the nearest point of any type;}
  311.           MENUITEM "Jump Circle C&enter\tE"   {#jumpcen;} {Jump to the nearest circle or arc center;}
  312.           MENUITEM "Jump &Near Element\tN"    {#jumpnear;} {Jump to the nearest element of any type;}
  313.           MENUITEM "Last Fi&xed\tX"            {#jumpfixed;} {Jump to the last fixed point, as indicated by the hedgehog;}
  314.           MENUITEM "Mid Poin&t Jump\tT"       {#jumpratio .5 "Y";} {Jump to mid point of line;}
  315.           MENUITEM "Ra&tio Jump\t^T"           {#jumpratio;} {Jump a fixed ratio between two points or along a line;}
  316.           MENUITEM "Move to &Coordinates\tC"     {#curtocoord;} {Move to a given coordinate value;}
  317.           MENUITEM "P&olar Move\tO"     {#polar;} {Move a given angle and distance;}
  318.       END
  319.       MENUITEM    SEPARATOR
  320.         MENUITEM "Show &Nodes"      {shownode;} {Temporarily display all nodes in the drawing;}
  321.         MENUITEM "&Dump Data..."    {dumpdata;} {Dump out the drawing into an ASCII debug file;}
  322.       MENUITEM    SEPARATOR
  323.         MENUITEM "&Grid..."         {#griddef;} {Change grid parameters;}
  324.       MENUITEM "&Measure"                   {#querydist;}{Compute the distance between two points;}
  325.       MENUITEM "P&olygon Area"              {qryarea;} {Compute the area and perimeter of a polygon;}
  326.       MENUITEM    SEPARATOR
  327.       MENUITEM "Add Data &Item"          {data;}  {Add a data item to the drawing;}
  328.       MENUITEM "&Query Entity"       {queryel;} {Query an entity for all of its properties;}
  329.    END
  330.  
  331.    POPUP "&Objects"
  332.    BEGIN
  333.         MENUITEM    "&Begin New Object"  {startpat;}  {Place all following entities into a new object;}
  334.         MENUITEM    "S&how Objects"      {allpats;}   {Show all objects, one at a time;}
  335.         MENUITEM    "&Group into Object" {linksel;} {Group all selected entities into an object;}
  336.         MENUITEM    "E&xplode Object"    {explode;} {Explode grouped objects;}
  337.         MENUITEM    SEPARATOR
  338.         MENUITEM    "&Make Symbol"    {makesym;}     {Group entities together to make a symbol;}
  339.         MENUITEM    SEPARATOR
  340.         POPUP "&Edit Object"
  341.             BEGIN
  342.             MENUITEM    "Change &Name"           {renampat;} {Change the name of an object;}
  343.             MENUITEM    "Change &Parent"         {parent;} {Change the parent (owner) of an object;}
  344.             MENUITEM    "Change &Hook Point"     {chpthook;} {Change the insertion point of an object;}
  345.             END
  346.         MENUITEM    SEPARATOR
  347.         MENUITEM    "Select C&urrent Object"    {newcurp "!";} {Select an object and make it the current one;}
  348.         MENUITEM    "Bl&ink Current Object"     {blnkcurp;} {Highlight the current object to help locate it;}
  349.    END
  350.    POPUP "&Settings"
  351.    BEGIN
  352.     MENUITEM  "&Drawing Settings..."  {drawdef;} {Set drawing defaults such as scale, coordinate system, and paper size;}
  353.     MENUITEM  "&View Settings..."     {#viewdef;} {Set viewing defaults such as background color and annotation settings;}
  354.    MENUITEM  "Re-Center P&aper"      {centerpaper;} {Recenter the sheet of paper on the drawing;}
  355.     MENUITEM  "&Snap Mode..."         {#snapdlg;} {Set the current cursor snap mode;}
  356.     MENUITEM  "&Change Magnify Factor"   {#chmag;} {Change the default Magnify Factor;}
  357.     MENUITEM  SEPARATOR
  358.     MENUITEM  "&Line Defaults..."     {#linetype;} {Change the line defaults;}
  359.     MENUITEM  "&Parallel Defaults..." {parlldef;}  {Set defaults for multiple parallel lines;}
  360.     MENUITEM  "&New Geometry Color..." {geompen;}  {Change the geometry color;}
  361.     MENUITEM  SEPARATOR
  362.     MENUITEM  "S&et Text Defaults..."    {#textdef;} {Set the default text parameters, such as size, font, and color;}
  363.     MENUITEM  "Set D&im Defaults..."     {dimdef;} {Set the default dimension parameters, such as color, font, and arrow style;}
  364.     MENUITEM  "Set Arro&w Defaults..."   {arrowdef;} {Set the arrow default parameters;}
  365.     MENUITEM  "Set Ball&oon Defaults..." {fitballn;} {Set the balloon default parameters;}
  366.     MENUITEM  SEPARATOR
  367.     MENUITEM  "Set Current Laye&r..."    {newlayer;}  {Choose which exisitng layer will be the current layer;}
  368.     MENUITEM    "Set &Visible Layers..."   {showlayer;} {Choose which layers are visible;}
  369.         MENUITEM    "La&yer Control..."        {editlay;}   {Create, scale, and set layers as current and visible;}
  370.    END
  371.  
  372.    POPUP        "&Help"
  373.    BEGIN
  374.       MENUITEM    "&Contents"                 {helpindex;}
  375.       MENUITEM    "&Search for Help On..." {helpsearch;}
  376.       MENUITEM    "&How to Use Help"         {helphelp;}
  377.       MENUITEM    SEPARATOR
  378.       MENUITEM    "&About ..."  {about;}
  379.    END
  380. END
  381.  
  382.  
  383.  
  384. ACCELERATORS
  385. BEGIN
  386.    VK_SLASH   {#toresponse;}  
  387.    "0"        {#zoom "V" "0";}
  388.    "1"        {#zoom "V" "1";}
  389.    "2"        {#zoom "V" "2";}
  390.    "3"        {#zoom "V" "3";}
  391.    "4"        {#zoom "V" "4";}
  392.    "5"        {#zoom "V" "5";}
  393.    "6"        {#zoom "V" "6";}
  394.    "7"        {#zoom "V" "7";}
  395.    "8"        {#zoom "V" "8";}
  396.    "9"        {#zoom "V" "9";}
  397.    "A"        {#jumpall;}
  398.    "C"        {#curtocoord;}
  399.    "D"        {#demag;}
  400.    "E"        {#jumpcen;}
  401.    "G"        {#jumpgd;}
  402.    "H"        {#home;}
  403.    "I"        {#jumpgeom;}
  404.    "J"        {#jumppt;}
  405.    "K"        {#takelpen;}
  406.    "L"        {#longpan;}
  407.    "M"        {#magnify;}
  408.    "N"        {#jumpnear;}
  409.    "O"        {#polar;}
  410.    "P"        {#pan;}
  411.    "R"        {#refresh;}
  412.    "S"        {#redraw;}
  413.    "T"        {#jumpratio .5 "Y";}
  414.    "^T"       {#jumpratio;}
  415.    "U"        {#yperp;}
  416.    "X"        {#jumpfixed;}
  417.    "Y"        {#jumpint;}
  418.    "Z"        {#zoom "A";}
  419.    "5"        {#home;}
  420.     "A"         {#curmode "A";}            SHIFT
  421.     "E"         {#curmode "E";}            SHIFT
  422.     "F"         {#curmode "F";}            SHIFT
  423.     "G"         {#curmode "G";}            SHIFT
  424.     "I"         {#curmode "I";}            SHIFT
  425.     "J"         {#curmode "J";}            SHIFT
  426.     "N"         {#curmode "N";}            SHIFT
  427.     "Y"         {#curmode "Z";}            SHIFT
  428.    "^Z"       {#undo;}
  429.    "^L"       {line;}
  430.    "^K"       {#lockang "L";}
  431.    "^U"       {#lockang "U";}
  432.    VK_MULTIPLY  {#zoom "L";}
  433.    VK_DIVIDE    {#zoom "N";}
  434.    VK_SEMICOLON {#longpan;}
  435.    VK_PERIOD    {#iso120;}
  436.    VK_OPENBRC   {#splitwin;}
  437.    VK_CLOSEBRC  {#joinwin;}  
  438.    VK_END     {#spnlinearc;}       CONTROL
  439.    VK_ADD     {#cursorhold;}
  440.    VK_RIGHT   {#a_right;}      
  441.    VK_UP      {#a_up;}         
  442.    VK_DOWN    {#a_down;}       
  443.    VK_LEFT    {#a_left;}       
  444.    VK_PRIOR   {#a_upright;}       
  445.    VK_NEXT    {#a_downright;}       
  446.    VK_HOME    {#a_upleft;}       
  447.    VK_END     {#a_downleft;}       
  448.    VK_RIGHT   {#a_rightnoask;}        SHIFT
  449.    VK_UP      {#a_upnoask;}           SHIFT
  450.    VK_DOWN    {#a_downnoask;}         SHIFT
  451.    VK_LEFT    {#a_leftnoask;}         SHIFT
  452.    VK_PRIOR   {#a_uprightnoask;}      SHIFT 
  453.    VK_NEXT    {#a_downrightnoask;}    SHIFT   
  454.    VK_HOME    {#a_upleftnoask;}       SHIFT
  455.    VK_SPACE   {#abort_repeat;}       
  456.    VK_ESCAPE  {escape;}   
  457.    VK_END     {#a_downleftnoask;}     SHIFT  
  458.    VK_RIGHT   {#align "R";}      CONTROL
  459.    VK_UP      {#align "T";}      CONTROL
  460.    VK_DOWN    {#align "B";}      CONTROL
  461.    VK_LEFT    {#align "L";}      CONTROL
  462.    VK_DELETE  {delselect;}
  463.    VK_RETURN  {#enterpt;}      
  464.    VK_INSERT  {copy;}            CONTROL     
  465.    "^C"       {copy;}
  466.    VK_INSERT  {paste;}           SHIFT
  467.    "^V"       {paste;}
  468.    VK_BACK    {undo;}            ALT
  469.    "^X"       {cut;}               
  470.    VK_DELETE  {cut;}             SHIFT
  471.    VK_F1      {helpindex;}
  472.    VK_F12     {hardcopy;}        CONTROL  SHIFT
  473.    VK_F12     {load;}            CONTROL
  474.    VK_F12     {save;}            SHIFT
  475.    VK_F12     {store;} 
  476.    VK_TAB     {#tabfocustopowerbar;}
  477. END
  478.