home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 November / pcwk_11_98a.iso / Wtestowe / SOFTSRC / vtrial15.exe / DATA.1 / ENTOPS.FRM < prev    next >
Text File  |  1996-09-15  |  39KB  |  1,323 lines

  1. VERSION 4.00
  2. Begin VB.Form ECOForm 
  3.    Caption         =   "Entity Creation Options"
  4.    ClientHeight    =   5190
  5.    ClientLeft      =   1680
  6.    ClientTop       =   3330
  7.    ClientWidth     =   8775
  8.    Height          =   5595
  9.    Left            =   1620
  10.    LinkTopic       =   "Form1"
  11.    ScaleHeight     =   5190
  12.    ScaleWidth      =   8775
  13.    Top             =   2985
  14.    Width           =   8895
  15.    Begin VB.Frame ecoText 
  16.       Caption         =   "Text"
  17.       Height          =   1695
  18.       Left            =   120
  19.       TabIndex        =   102
  20.       Top             =   2280
  21.       Width           =   8535
  22.       Begin VB.ComboBox ecoTextStylesList 
  23.          Height          =   300
  24.          Left            =   5400
  25.          TabIndex        =   111
  26.          Top             =   480
  27.          Width           =   2895
  28.       End
  29.       Begin VB.TextBox ecoTextWord 
  30.          Height          =   375
  31.          Left            =   2040
  32.          TabIndex        =   108
  33.          Top             =   720
  34.          Width           =   2895
  35.       End
  36.       Begin VB.CheckBox ecoTextRnd 
  37.          Caption         =   "Randomize"
  38.          Height          =   255
  39.          Left            =   240
  40.          TabIndex        =   107
  41.          Top             =   360
  42.          Width           =   1215
  43.       End
  44.       Begin VB.TextBox ecoTextCoords 
  45.          Height          =   375
  46.          Left            =   2040
  47.          TabIndex        =   105
  48.          Text            =   "10,10"
  49.          Top             =   1200
  50.          Width           =   1095
  51.       End
  52.       Begin VB.ComboBox ecoTextWordList 
  53.          Height          =   300
  54.          ItemData        =   "EntOps.frx":0000
  55.          Left            =   5400
  56.          List            =   "EntOps.frx":0061
  57.          TabIndex        =   103
  58.          Text            =   "ecoTextWordList"
  59.          Top             =   1200
  60.          Width           =   2895
  61.       End
  62.       Begin VB.Label Label37 
  63.          Alignment       =   2  'Center
  64.          Caption         =   "Available Text Styles"
  65.          Height          =   255
  66.          Left            =   5400
  67.          TabIndex        =   110
  68.          Top             =   240
  69.          Width           =   2895
  70.       End
  71.       Begin VB.Label Label36 
  72.          Caption         =   "Word/Phrase to Insert:"
  73.          Height          =   255
  74.          Left            =   240
  75.          TabIndex        =   109
  76.          Top             =   840
  77.          Width           =   1695
  78.       End
  79.       Begin VB.Label Label35 
  80.          Caption         =   "Insert At:"
  81.          Height          =   255
  82.          Left            =   1200
  83.          TabIndex        =   106
  84.          Top             =   1320
  85.          Width           =   735
  86.       End
  87.       Begin VB.Label Label34 
  88.          Alignment       =   2  'Center
  89.          Caption         =   "Random Word/Phrase List"
  90.          Height          =   255
  91.          Left            =   5400
  92.          TabIndex        =   104
  93.          Top             =   960
  94.          Width           =   2895
  95.       End
  96.    End
  97.    Begin VB.Frame ecoPolyline 
  98.       Caption         =   "Polyline"
  99.       Height          =   1695
  100.       Left            =   8880
  101.       TabIndex        =   92
  102.       Top             =   2280
  103.       Width           =   8535
  104.       Begin VB.CommandButton ecoPolylineClrCmd 
  105.          Caption         =   "&Clear All"
  106.          Height          =   375
  107.          Left            =   7440
  108.          TabIndex        =   101
  109.          Top             =   480
  110.          Width           =   975
  111.       End
  112.       Begin VB.CheckBox ecoPolylineRnd 
  113.          Caption         =   "Randomize"
  114.          Height          =   255
  115.          Left            =   240
  116.          TabIndex        =   100
  117.          Top             =   480
  118.          Width           =   1575
  119.       End
  120.       Begin VB.CommandButton ecoPolylineRndCmd 
  121.          Caption         =   "Create a &Random Polyline"
  122.          Height          =   375
  123.          Left            =   240
  124.          TabIndex        =   99
  125.          Top             =   1080
  126.          Width           =   2655
  127.       End
  128.       Begin VB.CommandButton ecoPolylineDelCmd 
  129.          Caption         =   "&Remove"
  130.          Height          =   375
  131.          Left            =   7440
  132.          TabIndex        =   98
  133.          Top             =   1080
  134.          Width           =   975
  135.       End
  136.       Begin VB.TextBox ecoPolylineNewVertex 
  137.          Height          =   375
  138.          Left            =   3360
  139.          TabIndex        =   96
  140.          Text            =   "0,0"
  141.          Top             =   600
  142.          Width           =   1455
  143.       End
  144.       Begin VB.CommandButton ecoPolylineAddCmd 
  145.          Caption         =   "&Add Vertex"
  146.          Height          =   375
  147.          Left            =   3360
  148.          TabIndex        =   95
  149.          Top             =   1080
  150.          Width           =   1455
  151.       End
  152.       Begin VB.ListBox ecoPolylinePtList 
  153.          Height          =   1005
  154.          Left            =   5040
  155.          TabIndex        =   93
  156.          Top             =   480
  157.          Width           =   2175
  158.       End
  159.       Begin VB.Label Label32 
  160.          Alignment       =   2  'Center
  161.          Caption         =   "New Vertex"
  162.          Height          =   255
  163.          Left            =   3360
  164.          TabIndex        =   97
  165.          Top             =   360
  166.          Width           =   1455
  167.       End
  168.       Begin VB.Label Label31 
  169.          Alignment       =   2  'Center
  170.          Caption         =   "Vertex Points"
  171.          Height          =   255
  172.          Left            =   5040
  173.          TabIndex        =   94
  174.          Top             =   240
  175.          Width           =   2175
  176.       End
  177.    End
  178.    Begin VB.Frame ecoTrace 
  179.       Caption         =   "Trace"
  180.       Height          =   1695
  181.       Left            =   8880
  182.       TabIndex        =   76
  183.       Top             =   1920
  184.       Width           =   8535
  185.       Begin VB.TextBox ecoTraceMaxLen 
  186.          Enabled         =   0   'False
  187.          Height          =   285
  188.          Left            =   6000
  189.          TabIndex        =   88
  190.          Text            =   "100"
  191.          Top             =   960
  192.          Width           =   1215
  193.       End
  194.       Begin VB.TextBox ecoTracePt4 
  195.          Height          =   285
  196.          Left            =   1440
  197.          TabIndex        =   81
  198.          Text            =   "0,10"
  199.          Top             =   1320
  200.          Width           =   1215
  201.       End
  202.       Begin VB.TextBox ecoTracePt3 
  203.          Height          =   285
  204.          Left            =   1440
  205.          TabIndex        =   80
  206.          Text            =   "10,10"
  207.          Top             =   960
  208.          Width           =   1215
  209.       End
  210.       Begin VB.TextBox ecoTracePt2 
  211.          Height          =   285
  212.          Left            =   1440
  213.          TabIndex        =   79
  214.          Text            =   "10,0"
  215.          Top             =   600
  216.          Width           =   1215
  217.       End
  218.       Begin VB.TextBox ecoTracePt1 
  219.          Height          =   285
  220.          Left            =   1440
  221.          TabIndex        =   78
  222.          Text            =   "0,0"
  223.          Top             =   240
  224.          Width           =   1215
  225.       End
  226.       Begin VB.CheckBox ecoTraceRnd 
  227.          Caption         =   "Randomize"
  228.          Height          =   255
  229.          Left            =   4320
  230.          TabIndex        =   77
  231.          Top             =   360
  232.          Width           =   1215
  233.       End
  234.       Begin VB.Label Label29 
  235.          Caption         =   "Maximum Side length"
  236.          Height          =   255
  237.          Left            =   4320
  238.          TabIndex        =   89
  239.          Top             =   960
  240.          Width           =   1575
  241.       End
  242.       Begin VB.Label Label28 
  243.          Caption         =   "Point 4"
  244.          Height          =   255
  245.          Left            =   720
  246.          TabIndex        =   85
  247.          Top             =   1320
  248.          Width           =   705
  249.       End
  250.       Begin VB.Label Label27 
  251.          Caption         =   "Point 3"
  252.          Height          =   255
  253.          Left            =   720
  254.          TabIndex        =   84
  255.          Top             =   960
  256.          Width           =   705
  257.       End
  258.       Begin VB.Label Label26 
  259.          Caption         =   "Point 2"
  260.          Height          =   255
  261.          Left            =   720
  262.          TabIndex        =   83
  263.          Top             =   600
  264.          Width           =   705
  265.       End
  266.       Begin VB.Label Label25 
  267.          Caption         =   "Point 1"
  268.          Height          =   255
  269.          Left            =   720
  270.          TabIndex        =   82
  271.          Top             =   240
  272.          Width           =   705
  273.       End
  274.    End
  275.    Begin VB.Frame ecoSolid 
  276.       Caption         =   "Solid"
  277.       Height          =   1695
  278.       Left            =   8880
  279.       TabIndex        =   66
  280.       Top             =   1560
  281.       Width           =   8535
  282.       Begin VB.TextBox ecoSolidMaxLen 
  283.          Enabled         =   0   'False
  284.          Height          =   285
  285.          Left            =   6000
  286.          TabIndex        =   90
  287.          Text            =   "100"
  288.          Top             =   960
  289.          Width           =   1215
  290.       End
  291.       Begin VB.CheckBox ecoSolidRnd 
  292.          Caption         =   "Randomize"
  293.          Height          =   255
  294.          Left            =   4320
  295.          TabIndex        =   71
  296.          Top             =   360
  297.          Width           =   1215
  298.       End
  299.       Begin VB.TextBox ecoSolidPt1 
  300.          Height          =   285
  301.          Left            =   1440
  302.          TabIndex        =   70
  303.          Text            =   "0,0"
  304.          Top             =   240
  305.          Width           =   1215
  306.       End
  307.       Begin VB.TextBox ecoSolidPt2 
  308.          Height          =   285
  309.          Left            =   1440
  310.          TabIndex        =   69
  311.          Text            =   "10,0"
  312.          Top             =   600
  313.          Width           =   1215
  314.       End
  315.       Begin VB.TextBox ecoSolidPt3 
  316.          Height          =   285
  317.          Left            =   1440
  318.          TabIndex        =   68
  319.          Text            =   "10,10"
  320.          Top             =   960
  321.          Width           =   1215
  322.       End
  323.       Begin VB.TextBox ecoSolidPt4 
  324.          Height          =   285
  325.          Left            =   1440
  326.          TabIndex        =   67
  327.          Text            =   "0,10"
  328.          Top             =   1320
  329.          Width           =   1215
  330.       End
  331.       Begin VB.Label Label30 
  332.          Caption         =   "Maximum Side length"
  333.          Height          =   255
  334.          Left            =   4320
  335.          TabIndex        =   91
  336.          Top             =   990
  337.          Width           =   1575
  338.       End
  339.       Begin VB.Label Label24 
  340.          Caption         =   "Point 1"
  341.          Height          =   255
  342.          Left            =   720
  343.          TabIndex        =   75
  344.          Top             =   240
  345.          Width           =   705
  346.       End
  347.       Begin VB.Label Label23 
  348.          Caption         =   "Point 2"
  349.          Height          =   255
  350.          Left            =   720
  351.          TabIndex        =   74
  352.          Top             =   600
  353.          Width           =   705
  354.       End
  355.       Begin VB.Label Label22 
  356.          Caption         =   "Point 3"
  357.          Height          =   255
  358.          Left            =   720
  359.          TabIndex        =   73
  360.          Top             =   960
  361.          Width           =   705
  362.       End
  363.       Begin VB.Label Label21 
  364.          Caption         =   "Point 4"
  365.          Height          =   255
  366.          Left            =   720
  367.          TabIndex        =   72
  368.          Top             =   1320
  369.          Width           =   705
  370.       End
  371.    End
  372.    Begin VB.Frame ecoFace 
  373.       Caption         =   "Face"
  374.       Height          =   1695
  375.       Left            =   8880
  376.       TabIndex        =   55
  377.       Top             =   1200
  378.       Width           =   8535
  379.       Begin VB.TextBox ecoFaceMaxLen 
  380.          Enabled         =   0   'False
  381.          Height          =   285
  382.          Left            =   6000
  383.          TabIndex        =   87
  384.          Text            =   "100"
  385.          Top             =   720
  386.          Width           =   1215
  387.       End
  388.       Begin VB.TextBox ecoFacePt4 
  389.          Height          =   285
  390.          Left            =   1920
  391.          TabIndex        =   64
  392.          Text            =   "0,10"
  393.          Top             =   1320
  394.          Width           =   1215
  395.       End
  396.       Begin VB.TextBox ecoFacePt3 
  397.          Height          =   285
  398.          Left            =   1920
  399.          TabIndex        =   63
  400.          Text            =   "10,10"
  401.          Top             =   960
  402.          Width           =   1215
  403.       End
  404.       Begin VB.TextBox ecoFacePt2 
  405.          Height          =   285
  406.          Left            =   1920
  407.          TabIndex        =   62
  408.          Text            =   "10,0"
  409.          Top             =   600
  410.          Width           =   1215
  411.       End
  412.       Begin VB.TextBox ecoFacePt1 
  413.          Height          =   285
  414.          Left            =   1920
  415.          TabIndex        =   57
  416.          Text            =   "0,0"
  417.          Top             =   240
  418.          Width           =   1215
  419.       End
  420.       Begin VB.CheckBox ecoFaceRnd 
  421.          Caption         =   "Randomize"
  422.          Height          =   255
  423.          Left            =   4320
  424.          TabIndex        =   56
  425.          Top             =   240
  426.          Width           =   1215
  427.       End
  428.       Begin VB.Label Label33 
  429.          Caption         =   "Maximum Side length"
  430.          Height          =   255
  431.          Left            =   4320
  432.          TabIndex        =   86
  433.          Top             =   750
  434.          Width           =   1575
  435.       End
  436.       Begin VB.Label Label20 
  437.          Caption         =   "Point 4"
  438.          Height          =   255
  439.          Left            =   1080
  440.          TabIndex        =   61
  441.          Top             =   1320
  442.          Width           =   705
  443.       End
  444.       Begin VB.Label Label19 
  445.          Caption         =   "Point 3"
  446.          Height          =   255
  447.          Left            =   1080
  448.          TabIndex        =   60
  449.          Top             =   960
  450.          Width           =   705
  451.       End
  452.       Begin VB.Label Label18 
  453.          Caption         =   "Point 2"
  454.          Height          =   255
  455.          Left            =   1080
  456.          TabIndex        =   59
  457.          Top             =   600
  458.          Width           =   705
  459.       End
  460.       Begin VB.Label Label17 
  461.          Caption         =   "Point 1"
  462.          Height          =   255
  463.          Left            =   1080
  464.          TabIndex        =   58
  465.          Top             =   240
  466.          Width           =   705
  467.       End
  468.    End
  469.    Begin VB.Frame ecoPoint 
  470.       Caption         =   "Point"
  471.       Height          =   1695
  472.       Left            =   8880
  473.       TabIndex        =   51
  474.       Top             =   1200
  475.       Width           =   8535
  476.       Begin VB.CheckBox ecoPointCoordRnd 
  477.          Caption         =   "Randomize"
  478.          Height          =   255
  479.          Left            =   4560
  480.          TabIndex        =   53
  481.          Top             =   720
  482.          Width           =   1215
  483.       End
  484.       Begin VB.TextBox ecoPointCoord 
  485.          Height          =   285
  486.          Left            =   3000
  487.          TabIndex        =   52
  488.          Text            =   "0,0"
  489.          Top             =   720
  490.          Width           =   1215
  491.       End
  492.       Begin VB.Label Label16 
  493.          Caption         =   "Coordinates"
  494.          Height          =   255
  495.          Left            =   1920
  496.          TabIndex        =   54
  497.          Top             =   720
  498.          Width           =   915
  499.       End
  500.    End
  501.    Begin VB.Frame ecoArc 
  502.       Caption         =   "Arc"
  503.       Height          =   1695
  504.       Left            =   8880
  505.       TabIndex        =   38
  506.       Top             =   840
  507.       Width           =   8535
  508.       Begin VB.CheckBox ecoArcEndRnd 
  509.          Caption         =   "Randomize"
  510.          Height          =   255
  511.          Left            =   6960
  512.          TabIndex        =   50
  513.          Top             =   840
  514.          Width           =   1335
  515.       End
  516.       Begin VB.CheckBox ecoArcStartRnd 
  517.          Caption         =   "Randomize"
  518.          Height          =   255
  519.          Left            =   6960
  520.          TabIndex        =   49
  521.          Top             =   360
  522.          Width           =   1455
  523.       End
  524.       Begin VB.TextBox ecoArcEndAngle 
  525.          Height          =   285
  526.          Left            =   5520
  527.          TabIndex        =   48
  528.          Text            =   "3.14159267"
  529.          Top             =   840
  530.          Width           =   1215
  531.       End
  532.       Begin VB.TextBox ecoArcStartAngle 
  533.          Height          =   285
  534.          Left            =   5520
  535.          TabIndex        =   47
  536.          Text            =   "0"
  537.          Top             =   360
  538.          Width           =   1215
  539.       End
  540.       Begin VB.CheckBox ecoArcRadRnd 
  541.          Caption         =   "Randomize"
  542.          Height          =   255
  543.          Left            =   2760
  544.          TabIndex        =   42
  545.          Top             =   840
  546.          Width           =   1215
  547.       End
  548.       Begin VB.CheckBox ecoArcCenterRnd 
  549.          Caption         =   "Randomize"
  550.          Height          =   255
  551.          Left            =   2760
  552.          TabIndex        =   41
  553.          Top             =   360
  554.          Width           =   1215
  555.       End
  556.       Begin VB.TextBox ecoArcRadius 
  557.          Height          =   285
  558.          Left            =   1320
  559.          TabIndex        =   40
  560.          Text            =   "100.00"
  561.          Top             =   840
  562.          Width           =   1215
  563.       End
  564.       Begin VB.TextBox ecoArcCenter 
  565.          Height          =   285
  566.          Left            =   1320
  567.          TabIndex        =   39
  568.          Text            =   "0,0"
  569.          Top             =   360
  570.          Width           =   1215
  571.       End
  572.       Begin VB.Label Label15 
  573.          Caption         =   "End Angle"
  574.          Height          =   255
  575.          Left            =   4560
  576.          TabIndex        =   46
  577.          Top             =   840
  578.          Width           =   855
  579.       End
  580.       Begin VB.Label Label14 
  581.          Caption         =   "Start Angle"
  582.          Height          =   255
  583.          Left            =   4560
  584.          TabIndex        =   45
  585.          Top             =   360
  586.          Width           =   855
  587.       End
  588.       Begin VB.Label Label13 
  589.          Caption         =   "Radius"
  590.          Height          =   255
  591.          Left            =   360
  592.          TabIndex        =   44
  593.          Top             =   840
  594.          Width           =   795
  595.       End
  596.       Begin VB.Label Label11 
  597.          Caption         =   "Center Point"
  598.          Height          =   255
  599.          Left            =   360
  600.          TabIndex        =   43
  601.          Top             =   360
  602.          Width           =   915
  603.       End
  604.    End
  605.    Begin VB.Frame ecoCircle 
  606.       Caption         =   "Circle"
  607.       Height          =   1695
  608.       Left            =   8880
  609.       TabIndex        =   31
  610.       Top             =   480
  611.       Width           =   8535
  612.       Begin VB.TextBox ecoCirclePt 
  613.          Height          =   285
  614.          Left            =   3000
  615.          TabIndex        =   35
  616.          Text            =   "0,0"
  617.          Top             =   360
  618.          Width           =   1215
  619.       End
  620.       Begin VB.TextBox ecoCircleRadius 
  621.          Height          =   285
  622.          Left            =   3000
  623.          TabIndex        =   34
  624.          Text            =   "1.0000"
  625.          Top             =   1080
  626.          Width           =   1215
  627.       End
  628.       Begin VB.CheckBox ecoCirclePtRnd 
  629.          Caption         =   "Randomize"
  630.          Height          =   255
  631.          Left            =   4560
  632.          TabIndex        =   33
  633.          Top             =   360
  634.          Width           =   1215
  635.       End
  636.       Begin VB.CheckBox ecoCircleRadRnd 
  637.          Caption         =   "Randomize"
  638.          Height          =   255
  639.          Left            =   4560
  640.          TabIndex        =   32
  641.          Top             =   1080
  642.          Width           =   1215
  643.       End
  644.       Begin VB.Label Label12 
  645.          Caption         =   "Center Point"
  646.          Height          =   255
  647.          Left            =   1920
  648.          TabIndex        =   37
  649.          Top             =   360
  650.          Width           =   915
  651.       End
  652.       Begin VB.Label Label10 
  653.          Caption         =   "Radius"
  654.          Height          =   255
  655.          Left            =   2040
  656.          TabIndex        =   36
  657.          Top             =   1080
  658.          Width           =   795
  659.       End
  660.    End
  661.    Begin VB.Frame Frame1 
  662.       Caption         =   "All Entities"
  663.       Height          =   1575
  664.       Left            =   120
  665.       TabIndex        =   12
  666.       Top             =   600
  667.       Width           =   8535
  668.       Begin VB.CheckBox ecoRandomColor 
  669.          Caption         =   "Randomize"
  670.          Height          =   255
  671.          Left            =   2640
  672.          TabIndex        =   24
  673.          Top             =   360
  674.          Width           =   1215
  675.       End
  676.       Begin VB.ComboBox ecoColorList 
  677.          Height          =   300
  678.          Left            =   1080
  679.          TabIndex        =   23
  680.          Top             =   360
  681.          Width           =   1335
  682.       End
  683.       Begin VB.ComboBox ecoLayerList 
  684.          Height          =   300
  685.          Left            =   1080
  686.          TabIndex        =   22
  687.          Top             =   720
  688.          Width           =   1335
  689.       End
  690.       Begin VB.ComboBox ecoLineTypeList 
  691.          Height          =   300
  692.          Left            =   1080
  693.          TabIndex        =   21
  694.          Top             =   1080
  695.          Width           =   1335
  696.       End
  697.       Begin VB.CheckBox ecoRandomLayer 
  698.          Caption         =   "Randomize"
  699.          Height          =   255
  700.          Left            =   2640
  701.          TabIndex        =   20
  702.          Top             =   720
  703.          Width           =   1215
  704.       End
  705.       Begin VB.CheckBox ecoRandomLineType 
  706.          Caption         =   "Randomize"
  707.          Height          =   255
  708.          Left            =   2640
  709.          TabIndex        =   19
  710.          Top             =   1080
  711.          Width           =   1215
  712.       End
  713.       Begin VB.CheckBox ecoRandomThickness 
  714.          Caption         =   "Randomize"
  715.          Height          =   255
  716.          Left            =   7200
  717.          TabIndex        =   18
  718.          Top             =   360
  719.          Width           =   1215
  720.       End
  721.       Begin VB.CheckBox ecoRandomNormal 
  722.          Caption         =   "Randomize"
  723.          Height          =   255
  724.          Left            =   7200
  725.          TabIndex        =   17
  726.          Top             =   720
  727.          Width           =   1215
  728.       End
  729.       Begin VB.CheckBox ecoRandomHyperLink 
  730.          Caption         =   "Randomize"
  731.          Height          =   255
  732.          Left            =   7200
  733.          TabIndex        =   16
  734.          Top             =   1080
  735.          Width           =   1215
  736.       End
  737.       Begin VB.TextBox ecoThickness 
  738.          Height          =   285
  739.          Left            =   5880
  740.          TabIndex        =   15
  741.          Top             =   360
  742.          Width           =   1095
  743.       End
  744.       Begin VB.TextBox ecoNormal 
  745.          Height          =   285
  746.          Left            =   5880
  747.          TabIndex        =   14
  748.          Top             =   720
  749.          Width           =   1095
  750.       End
  751.       Begin VB.CheckBox ecoHyperLink 
  752.          Height          =   255
  753.          Left            =   5880
  754.          TabIndex        =   13
  755.          Top             =   1080
  756.          Width           =   255
  757.       End
  758.       Begin VB.Label Label1 
  759.          Caption         =   "Color"
  760.          Height          =   255
  761.          Left            =   120
  762.          TabIndex        =   30
  763.          Top             =   360
  764.          Width           =   900
  765.       End
  766.       Begin VB.Label Label2 
  767.          Caption         =   "Layer"
  768.          Height          =   255
  769.          Left            =   120
  770.          TabIndex        =   29
  771.          Top             =   720
  772.          Width           =   900
  773.       End
  774.       Begin VB.Label Label3 
  775.          Caption         =   "Line Type"
  776.          Height          =   255
  777.          Left            =   120
  778.          TabIndex        =   28
  779.          Top             =   1080
  780.          Width           =   900
  781.       End
  782.       Begin VB.Label Label4 
  783.          Caption         =   "Thickness"
  784.          Height          =   255
  785.          Left            =   4800
  786.          TabIndex        =   27
  787.          Top             =   360
  788.          Width           =   900
  789.       End
  790.       Begin VB.Label Label5 
  791.          Caption         =   "Normal"
  792.          Height          =   255
  793.          Left            =   4800
  794.          TabIndex        =   26
  795.          Top             =   720
  796.          Width           =   900
  797.       End
  798.       Begin VB.Label Label6 
  799.          Caption         =   "Hyper Link?"
  800.          Height          =   255
  801.          Left            =   4800
  802.          TabIndex        =   25
  803.          Top             =   1080
  804.          Width           =   900
  805.       End
  806.    End
  807.    Begin VB.CheckBox ecoRandomAll 
  808.       Caption         =   "&Randomize All Settings"
  809.       Height          =   255
  810.       Left            =   240
  811.       TabIndex        =   4
  812.       Top             =   4200
  813.       Width           =   2055
  814.    End
  815.    Begin VB.CommandButton CancelCmd 
  816.       Cancel          =   -1  'True
  817.       Caption         =   "Cancel"
  818.       Height          =   375
  819.       Left            =   5280
  820.       TabIndex        =   3
  821.       Top             =   4680
  822.       Width           =   1335
  823.    End
  824.    Begin VB.Frame ecoLine 
  825.       Caption         =   "Line"
  826.       Height          =   1695
  827.       Left            =   8880
  828.       TabIndex        =   2
  829.       Top             =   120
  830.       Width           =   8535
  831.       Begin VB.CheckBox ecoLineEndRnd 
  832.          Caption         =   "Randomize"
  833.          Height          =   255
  834.          Left            =   4560
  835.          TabIndex        =   11
  836.          Top             =   720
  837.          Width           =   1215
  838.       End
  839.       Begin VB.CheckBox ecoLineStartRnd 
  840.          Caption         =   "Randomize"
  841.          Height          =   255
  842.          Left            =   4560
  843.          TabIndex        =   10
  844.          Top             =   360
  845.          Width           =   1215
  846.       End
  847.       Begin VB.TextBox ecoLineEnd 
  848.          Height          =   285
  849.          Left            =   3000
  850.          TabIndex        =   6
  851.          Text            =   "10,10"
  852.          Top             =   720
  853.          Width           =   1215
  854.       End
  855.       Begin VB.TextBox ecoLineStart 
  856.          Height          =   285
  857.          Left            =   3000
  858.          TabIndex        =   5
  859.          Text            =   "0,0"
  860.          Top             =   360
  861.          Width           =   1215
  862.       End
  863.       Begin VB.Label ecoLineLength 
  864.          BorderStyle     =   1  'Fixed Single
  865.          Caption         =   "14.142135"
  866.          Height          =   255
  867.          Left            =   3000
  868.          TabIndex        =   65
  869.          Top             =   1080
  870.          Width           =   1215
  871.       End
  872.       Begin VB.Label Label9 
  873.          Caption         =   "Length"
  874.          Height          =   255
  875.          Left            =   2040
  876.          TabIndex        =   9
  877.          Top             =   1080
  878.          Width           =   795
  879.       End
  880.       Begin VB.Label Label8 
  881.          Caption         =   "End Point"
  882.          Height          =   255
  883.          Left            =   2040
  884.          TabIndex        =   8
  885.          Top             =   720
  886.          Width           =   795
  887.       End
  888.       Begin VB.Label Label7 
  889.          Caption         =   "Start Point"
  890.          Height          =   255
  891.          Left            =   2040
  892.          TabIndex        =   7
  893.          Top             =   360
  894.          Width           =   795
  895.       End
  896.    End
  897.    Begin VB.CommandButton OKCmd 
  898.       Caption         =   "OK"
  899.       Default         =   -1  'True
  900.       Height          =   375
  901.       Left            =   2040
  902.       TabIndex        =   1
  903.       Top             =   4680
  904.       Width           =   1335
  905.    End
  906.    Begin VB.Label EntityName 
  907.       Alignment       =   2  'Center
  908.       BackColor       =   &H00FFFF00&
  909.       BorderStyle     =   1  'Fixed Single
  910.       Caption         =   "Entity Type"
  911.       BeginProperty Font 
  912.          name            =   "MS Sans Serif"
  913.          charset         =   0
  914.          weight          =   700
  915.          size            =   12
  916.          underline       =   0   'False
  917.          italic          =   0   'False
  918.          strikethrough   =   0   'False
  919.       EndProperty
  920.       ForeColor       =   &H00FF0000&
  921.       Height          =   375
  922.       Left            =   120
  923.       TabIndex        =   0
  924.       Top             =   120
  925.       Width           =   8535
  926.    End
  927. End
  928. Attribute VB_Name = "ECOForm"
  929. Attribute VB_Creatable = False
  930. Attribute VB_Exposed = False
  931. Option Explicit
  932.  
  933. Sub ComputeLine()
  934. '
  935. '   recompute the values for line length
  936. '
  937.     Dim StartX#, StartY#, EndX#, EndY#, Length#
  938.     Dim C$
  939.  
  940.     C$ = ecoLineStart.Text
  941.     ParseCoords StartX#, StartY#, C$
  942.     C$ = ecoLineEnd.Text
  943.     ParseCoords EndX#, EndY#, C$
  944.     Length# = CDbl(Val(ecoLineLength.Caption))
  945.  
  946. '   if length is not fixed, then use the
  947. '   two coordinates and compute the length
  948.     Length# = Sqr((Abs((EndX# - StartX#) ^ 2)) + (Abs((EndY# - StartY#) ^ 2)))
  949.     ecoLineLength.Caption = Format$(Length#, "####0.0000")
  950. End Sub
  951.  
  952.  
  953. Private Sub CancelCmd_Click()
  954. '
  955. '   quit
  956. '
  957.  
  958.     ECOForm.Hide
  959. End Sub
  960.  
  961. Private Sub Combo1_Change()
  962.  
  963. End Sub
  964.  
  965. Private Sub ecoFaceRnd_Click()
  966. '
  967. '   randomize setting for face
  968. '
  969.     If (ecoFaceRnd.Value = 1) Then
  970.         ecoFacePt1.Enabled = False
  971.         ecoFacePt2.Enabled = False
  972.         ecoFacePt3.Enabled = False
  973.         ecoFacePt4.Enabled = False
  974.         ecoFaceMaxLen.Enabled = True
  975.     Else
  976.         ecoFacePt1.Enabled = True
  977.         ecoFacePt2.Enabled = True
  978.         ecoFacePt3.Enabled = True
  979.         ecoFacePt4.Enabled = True
  980.         ecoFaceMaxLen.Enabled = False
  981.     End If
  982. End Sub
  983.  
  984. Private Sub ecoLineEnd_Change()
  985.     ComputeLine
  986. End Sub
  987.  
  988.  
  989. Private Sub ecoLineEndRnd_Click()
  990.     If ecoLineEndRnd.Value = 0 Then
  991.         ecoRandomAll.Value = 0
  992.     End If
  993. End Sub
  994.  
  995.  
  996. Private Sub ecoLineLength_Change()
  997.     ComputeLine
  998. End Sub
  999.  
  1000.  
  1001. Private Sub ecoLineStart_Change()
  1002.     ComputeLine
  1003. End Sub
  1004.  
  1005.  
  1006.  
  1007. Private Sub ecoLineStartRnd_Click()
  1008.     If ecoLineStartRnd.Value = 0 Then
  1009.         ecoRandomAll.Value = 0
  1010.     End If
  1011. End Sub
  1012.  
  1013. Private Sub ecoPolylineAddCmd_Click()
  1014. '
  1015. '   add the given vertex to the polyline vertex list
  1016. '
  1017.  
  1018. '   as a limited form of data checking, we'll run
  1019. '   this through the coordinate parser
  1020.     Dim X#, Y#, C$
  1021.     C$ = ECOForm.ecoPolylineNewVertex.Text
  1022.     ParseCoords X#, Y#, C$
  1023.     
  1024.     Dim A$
  1025.     A$ = Trim$(Str$(X#)) & ", " & Trim$(Str$(Y#))
  1026.     
  1027.     ECOForm.ecoPolylinePtList.AddItem A$
  1028. End Sub
  1029.  
  1030. Private Sub ecoPolylineClrCmd_Click()
  1031. '
  1032. '   clear the polyline vertex list
  1033. '
  1034.     ECOForm.ecoPolylinePtList.Clear
  1035. End Sub
  1036.  
  1037. Private Sub ecoPolylineDelCmd_Click()
  1038. '
  1039. '   remove the highlighted polyline vertex, if any
  1040. '
  1041.     If (ECOForm.ecoPolylinePtList.ListIndex <> -1) Then
  1042.         ECOForm.ecoPolylinePtList.RemoveItem ECOForm.ecoPolylinePtList.ListIndex
  1043.     End If
  1044. End Sub
  1045.  
  1046.  
  1047. Private Sub ecoPolylineRndCmd_Click()
  1048.     GenerateRandomPLine
  1049. End Sub
  1050.  
  1051. Private Sub ecoRandomAll_Click()
  1052. '
  1053. '   randomize all settings
  1054. '
  1055.     If (ecoRandomAll.Value = 1) Then
  1056.     
  1057.         If (MsgBox("This will set all settings for all entities" & CRLF & "to 'Randomize'.  Are you sure?", 4096 + 36) = 6) Then
  1058.             ecoRandomColor.Value = 1
  1059.             ecoRandomLayer.Value = 1
  1060.             ecoRandomLineType.Value = 1
  1061.             ecoRandomThickness.Value = 1
  1062.             ecoRandomNormal.Value = 1
  1063.             ecoRandomHyperLink.Value = 1
  1064.     
  1065.         '   line
  1066.             ecoLineStartRnd.Value = 1
  1067.             ecoLineEndRnd.Value = 1
  1068.             
  1069.         '   circle
  1070.             ecoCirclePtRnd.Value = 1
  1071.             ecoCircleRadRnd.Value = 1
  1072.             
  1073.         '   arc
  1074.             ecoArcCenterRnd.Value = 1
  1075.             ecoArcRadRnd.Value = 1
  1076.             ecoArcStartRnd.Value = 1
  1077.             ecoArcEndRnd.Value = 1
  1078.  
  1079.         '   face
  1080.             ecoFaceRnd.Value = 1
  1081.             
  1082.         '   Solid
  1083.             ecoSolidRnd.Value = 1
  1084.             
  1085.         '   Trace
  1086.             ecoTraceRnd.Value = 1
  1087.             
  1088.         '   Polyline
  1089.             ecoPolylineRnd.Value = 1
  1090.             
  1091.         '   Text
  1092.             ecoTextRnd.Value = 1
  1093.             
  1094.         
  1095.         
  1096.         End If
  1097.         
  1098.         RandomClick% = True         ' prevents a recursive endless loop
  1099.         EntCreationForm.ectRandomAll.Value = 1
  1100.     End If
  1101. End Sub
  1102.  
  1103. Private Sub ecoRandomColor_Click()
  1104.     If ecoRandomColor.Value = 0 Then
  1105.         ecoRandomAll.Value = 0
  1106.     End If
  1107. End Sub
  1108.  
  1109.  
  1110. Private Sub ecoRandomHyperLink_Click()
  1111.     If ecoRandomHyperLink.Value = 0 Then
  1112.         ecoRandomAll.Value = 0
  1113.     End If
  1114. End Sub
  1115.  
  1116. Private Sub ecoRandomLayer_Click()
  1117.     If ecoRandomLayer.Value = 0 Then
  1118.         ecoRandomAll.Value = 0
  1119.     End If
  1120. End Sub
  1121.  
  1122.  
  1123. Private Sub ecoRandomLineType_Click()
  1124.     If ecoRandomLineType.Value = 0 Then
  1125.         ecoRandomAll.Value = 0
  1126.     End If
  1127. End Sub
  1128.  
  1129.  
  1130. Private Sub ecoRandomNormal_Click()
  1131.     If ecoRandomNormal.Value = 0 Then
  1132.         ecoRandomAll.Value = 0
  1133.     End If
  1134. End Sub
  1135.  
  1136. Private Sub ecoRandomThickness_Click()
  1137.     If ecoRandomThickness.Value = 0 Then
  1138.         ecoRandomAll.Value = 0
  1139.     End If
  1140. End Sub
  1141.  
  1142.  
  1143. Private Sub ecoSolidRnd_Click()
  1144. '
  1145. '   randomize setting for face
  1146. '
  1147.     If (ecoSolidRnd.Value = 1) Then
  1148.         ecoSolidPt1.Enabled = False
  1149.         ecoSolidPt2.Enabled = False
  1150.         ecoSolidPt3.Enabled = False
  1151.         ecoSolidPt4.Enabled = False
  1152.         ecoSolidMaxLen.Enabled = True
  1153.     Else
  1154.         ecoSolidPt1.Enabled = True
  1155.         ecoSolidPt2.Enabled = True
  1156.         ecoSolidPt3.Enabled = True
  1157.         ecoSolidPt4.Enabled = True
  1158.         ecoSolidMaxLen.Enabled = False
  1159.     End If
  1160. End Sub
  1161.  
  1162. Private Sub ecoTraceRnd_Click()
  1163. '
  1164. '   randomize setting for face
  1165. '
  1166.     If (ecoTraceRnd.Value = 1) Then
  1167.         ecoTracePt1.Enabled = False
  1168.         ecoTracePt2.Enabled = False
  1169.         ecoTracePt3.Enabled = False
  1170.         ecoTracePt4.Enabled = False
  1171.         ecoTraceMaxLen.Enabled = True
  1172.     Else
  1173.         ecoTracePt1.Enabled = True
  1174.         ecoTracePt2.Enabled = True
  1175.         ecoTracePt3.Enabled = True
  1176.         ecoTracePt4.Enabled = True
  1177.         ecoTraceMaxLen.Enabled = False
  1178.     End If
  1179. End Sub
  1180.  
  1181. Private Sub Form_Activate()
  1182. '
  1183. '   (re)initialize the form
  1184. '
  1185.     Screen.MousePointer = 11
  1186.     EntityName.Caption = gblEntities(ecoWhich)  ' name of entity being edited here
  1187.  
  1188.     Dim i%, j%
  1189.     
  1190. '
  1191. '   fill in the color selection list box
  1192.     ecoColorList.AddItem "By Layer"
  1193.     For i% = 0 To 255
  1194.         ecoColorList.AddItem Str$(i%)
  1195.     Next
  1196.     ecoColorList.ListIndex = 0
  1197.  
  1198. '
  1199. '   fill in the layer selection list box
  1200. '   Grab the current layers from Vdraft
  1201.     i% = Layers.Count
  1202.     For j% = 1 To i%
  1203.         ecoLayerList.AddItem Layers.Item(j%)
  1204.     Next
  1205.     If (ecoLayerList.ListCount > 0) Then
  1206.         ecoLayerList.ListIndex = 0
  1207.     End If
  1208.  
  1209. '
  1210. '   fill in the linetype selection list box
  1211. '   Grab the current linetypes from Vdraft
  1212.     i% = LineTypes.Count
  1213.     For j% = 1 To i%
  1214.         ecoLineTypeList.AddItem LineTypes.Item(j%)
  1215.     Next
  1216.     If (ecoLineTypeList.ListCount > 0) Then
  1217.         ecoLineTypeList.ListIndex = 0
  1218.     End If
  1219.  
  1220. '
  1221. '   be sure all the entity-specific frames are invisible
  1222.     ECOForm.ecoLine.Visible = False
  1223.     ECOForm.ecoCircle.Visible = False
  1224.     ECOForm.ecoArc.Visible = False
  1225.     ECOForm.ecoPoint.Visible = False
  1226.     ECOForm.ecoFace.Visible = False
  1227.     ECOForm.ecoSolid.Visible = False
  1228.     ECOForm.ecoTrace.Visible = False
  1229.     ECOForm.ecoPolyline.Visible = False
  1230.     ECOForm.ecoText.Visible = False
  1231.     
  1232. '
  1233. '   show the correct entity-specifc options
  1234.     Select Case ecoWhich
  1235.         Case entArc
  1236.             ECOForm.ecoArc.Visible = True
  1237.             ECOForm.ecoArc.Top = 2280
  1238.             ECOForm.ecoArc.Left = 120
  1239.         
  1240.         Case entAttdef
  1241.         Case entBlockInsert
  1242.         Case entCircle
  1243.             ECOForm.ecoCircle.Visible = True
  1244.             ECOForm.ecoCircle.Top = 2280
  1245.             ECOForm.ecoCircle.Left = 120
  1246.         
  1247.         Case entDimHor
  1248.         Case entDimRad
  1249.         Case entDimVer
  1250.         Case entFace
  1251.             ECOForm.ecoFace.Visible = True
  1252.             ECOForm.ecoFace.Top = 2280
  1253.             ECOForm.ecoFace.Left = 120
  1254.         
  1255.         Case entLine
  1256.             ECOForm.ecoLine.Visible = True
  1257.             ECOForm.ecoLine.Top = 2280
  1258.             ECOForm.ecoLine.Left = 120
  1259.             ComputeLine
  1260.         
  1261.         Case entPoint
  1262.             ECOForm.ecoPoint.Visible = True
  1263.             ECOForm.ecoPoint.Top = 2280
  1264.             ECOForm.ecoPoint.Left = 120
  1265.         
  1266.         Case entPolyline
  1267.             ECOForm.ecoPolyline.Visible = True
  1268.             ECOForm.ecoPolyline.Top = 2280
  1269.             ECOForm.ecoPolyline.Left = 120
  1270.         
  1271.         Case entShape
  1272.         Case entSolid
  1273.             ECOForm.ecoSolid.Visible = True
  1274.             ECOForm.ecoSolid.Top = 2280
  1275.             ECOForm.ecoSolid.Left = 120
  1276.         
  1277.         Case entStartCenterAngle
  1278.         Case entStartInsert
  1279.         Case entStartLine
  1280.         Case entText
  1281.             ECOForm.ecoText.Visible = True
  1282.             ECOForm.ecoText.Top = 2280
  1283.             ECOForm.ecoText.Left = 120
  1284.             ECOForm.ecoTextWordList.ListIndex = 0
  1285.             
  1286.         '   get the text styles
  1287.             
  1288.         
  1289.         Case entThreePtArc
  1290.         Case entTrace
  1291.             ECOForm.ecoTrace.Visible = True
  1292.             ECOForm.ecoTrace.Top = 2280
  1293.             ECOForm.ecoTrace.Left = 120
  1294.         
  1295.         Case entViewport
  1296.         Case Else
  1297.             MsgBox "Entity Create Options Form: Load_Form" & CRLF & "Unknown Entity Type"
  1298.     End Select
  1299.     Screen.MousePointer = 0
  1300. End Sub
  1301.  
  1302. Private Sub OKCmd_Click()
  1303. '
  1304. '   done
  1305. '
  1306.  
  1307.     ECOForm.Hide
  1308. End Sub
  1309.  
  1310.  
  1311. Private Sub Form_Load()
  1312. '
  1313. '   initialize the entities creation options form
  1314. '
  1315.     ECOForm.Top = (Screen.Height - ECOForm.Height) / 2
  1316.     ECOForm.Left = (Screen.Width - ECOForm.Width) / 2
  1317.  
  1318. End Sub
  1319.  
  1320.  
  1321.  
  1322.  
  1323.