home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / boxes / ttcode / bevelopt.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-07-25  |  34.0 KB  |  985 lines

  1. VERSION 2.00
  2. Begin Form BevelOptFrm 
  3.    BackColor       =   &H8000000F&
  4.    BorderStyle     =   3  'Fixed Double
  5.    Caption         =   "3D Bevel Options"
  6.    ClientHeight    =   2400
  7.    ClientLeft      =   3825
  8.    ClientTop       =   5520
  9.    ClientWidth     =   4305
  10.    ClipControls    =   0   'False
  11.    ControlBox      =   0   'False
  12.    Height          =   2805
  13.    KeyPreview      =   -1  'True
  14.    Left            =   3765
  15.    LinkTopic       =   "Form1"
  16.    MaxButton       =   0   'False
  17.    MinButton       =   0   'False
  18.    ScaleHeight     =   2400
  19.    ScaleWidth      =   4305
  20.    Top             =   5175
  21.    Width           =   4425
  22.    Begin PZPanel BackPan 
  23.       BackColor       =   &H00C0C0C0&
  24.       Caption         =   "PZPanel1"
  25.       Height          =   4005
  26.       Left            =   0
  27.       TabIndex        =   0
  28.       Top             =   0
  29.       Width           =   7395
  30.       Begin PZLabel ColorOpt 
  31.          Alignment       =   1  'Left Justify - MIDDLE
  32.          BackColor       =   &H00C0C0C0&
  33.          BevelOuterWidth =   1
  34.          CaptionMargin   =   25
  35.          Font3D          =   2  'Block Right
  36.          FontBold        =   -1  'True
  37.          FontItalic      =   0   'False
  38.          FontName        =   "MS Sans Serif"
  39.          FontSize        =   9.75
  40.          FontStrikethru  =   0   'False
  41.          FontUnderline   =   0   'False
  42.          ForeColor       =   &H00800000&
  43.          Height          =   315
  44.          IconLeft        =   -4
  45.          IconTop         =   -6
  46.          Index           =   7
  47.          Left            =   2220
  48.          TabIndex        =   32
  49.          Top             =   1110
  50.          Width           =   1905
  51.       End
  52.       Begin PZLabel ColorOpt 
  53.          Alignment       =   1  'Left Justify - MIDDLE
  54.          BackColor       =   &H00C0C0C0&
  55.          BevelOuter      =   1  'Inset
  56.          BevelOuterWidth =   1
  57.          Caption         =   "Set Color..."
  58.          CaptionMargin   =   25
  59.          Font3D          =   2  'Block Right
  60.          FontBold        =   -1  'True
  61.          FontItalic      =   0   'False
  62.          FontName        =   "MS Sans Serif"
  63.          FontSize        =   9.75
  64.          FontStrikethru  =   0   'False
  65.          FontUnderline   =   0   'False
  66.          ForeColor       =   &H00800000&
  67.          Height          =   315
  68.          IconLeft        =   -4
  69.          IconTop         =   -6
  70.          Index           =   6
  71.          Left            =   2220
  72.          TabIndex        =   31
  73.          Top             =   720
  74.          Width           =   1905
  75.       End
  76.       Begin PZLabel ColorOpt 
  77.          Alignment       =   1  'Left Justify - MIDDLE
  78.          BackColor       =   &H00C0C0C0&
  79.          BevelOuterWidth =   1
  80.          CaptionMargin   =   25
  81.          Font3D          =   2  'Block Right
  82.          FontBold        =   -1  'True
  83.          FontItalic      =   0   'False
  84.          FontName        =   "MS Sans Serif"
  85.          FontSize        =   9.75
  86.          FontStrikethru  =   0   'False
  87.          FontUnderline   =   0   'False
  88.          ForeColor       =   &H00800000&
  89.          Height          =   315
  90.          IconLeft        =   -4
  91.          IconTop         =   -6
  92.          Index           =   5
  93.          Left            =   2220
  94.          TabIndex        =   30
  95.          Top             =   1110
  96.          Width           =   1905
  97.       End
  98.       Begin PZLabel ColorOpt 
  99.          Alignment       =   1  'Left Justify - MIDDLE
  100.          BackColor       =   &H00C0C0C0&
  101.          BevelOuter      =   1  'Inset
  102.          BevelOuterWidth =   1
  103.          Caption         =   "Set Color..."
  104.          CaptionMargin   =   25
  105.          Font3D          =   2  'Block Right
  106.          FontBold        =   -1  'True
  107.          FontItalic      =   0   'False
  108.          FontName        =   "MS Sans Serif"
  109.          FontSize        =   9.75
  110.          FontStrikethru  =   0   'False
  111.          FontUnderline   =   0   'False
  112.          ForeColor       =   &H00800000&
  113.          Height          =   315
  114.          IconLeft        =   -4
  115.          IconTop         =   -6
  116.          Index           =   4
  117.          Left            =   2220
  118.          TabIndex        =   29
  119.          Top             =   720
  120.          Width           =   1905
  121.       End
  122.       Begin PZLabel ColorOpt 
  123.          Alignment       =   1  'Left Justify - MIDDLE
  124.          BackColor       =   &H00C0C0C0&
  125.          BevelOuter      =   1  'Inset
  126.          BevelOuterWidth =   1
  127.          Caption         =   "Black Shade"
  128.          CaptionMargin   =   25
  129.          Font3D          =   2  'Block Right
  130.          FontBold        =   -1  'True
  131.          FontItalic      =   0   'False
  132.          FontName        =   "MS Sans Serif"
  133.          FontSize        =   9.75
  134.          FontStrikethru  =   0   'False
  135.          FontUnderline   =   0   'False
  136.          ForeColor       =   &H00800000&
  137.          Height          =   315
  138.          IconLeft        =   -4
  139.          IconTop         =   -6
  140.          Index           =   3
  141.          Left            =   2220
  142.          TabIndex        =   28
  143.          Top             =   1110
  144.          Width           =   1905
  145.       End
  146.       Begin PZLabel ColorOpt 
  147.          Alignment       =   1  'Left Justify - MIDDLE
  148.          BackColor       =   &H00C0C0C0&
  149.          BevelOuter      =   1  'Inset
  150.          BevelOuterWidth =   1
  151.          Caption         =   "White Light"
  152.          CaptionMargin   =   25
  153.          Font3D          =   2  'Block Right
  154.          FontBold        =   -1  'True
  155.          FontItalic      =   0   'False
  156.          FontName        =   "MS Sans Serif"
  157.          FontSize        =   9.75
  158.          FontStrikethru  =   0   'False
  159.          FontUnderline   =   0   'False
  160.          ForeColor       =   &H00800000&
  161.          Height          =   315
  162.          IconLeft        =   -4
  163.          IconTop         =   -6
  164.          Index           =   2
  165.          Left            =   2220
  166.          TabIndex        =   27
  167.          Top             =   720
  168.          Width           =   1905
  169.       End
  170.       Begin PZLabel WidthLab 
  171.          BorderOuter     =   1  'Solid
  172.          Caption         =   "5"
  173.          ForeColor       =   &H00800000&
  174.          Height          =   255
  175.          Index           =   3
  176.          Left            =   2250
  177.          TabIndex        =   26
  178.          Top             =   1530
  179.          Width           =   435
  180.       End
  181.       Begin PZLabel WidthLab 
  182.          BorderOuter     =   1  'Solid
  183.          Caption         =   "5"
  184.          ForeColor       =   &H00800000&
  185.          Height          =   255
  186.          Index           =   2
  187.          Left            =   2250
  188.          TabIndex        =   25
  189.          Top             =   1530
  190.          Width           =   435
  191.       End
  192.       Begin PZLabel WidthLab 
  193.          BorderOuter     =   1  'Solid
  194.          Caption         =   "5"
  195.          ForeColor       =   &H00800000&
  196.          Height          =   255
  197.          Index           =   1
  198.          Left            =   2250
  199.          TabIndex        =   24
  200.          Top             =   1530
  201.          Width           =   435
  202.       End
  203.       Begin PZLabel Tabs 
  204.          Alignment       =   6  'Center - TOP
  205.          BackColor       =   &H00C0C0C0&
  206.          BevelInner      =   2  'Raised
  207.          BevelInnerWidth =   1
  208.          BevelOuter      =   2  'Raised
  209.          BevelOuterShading=   2  'Dark
  210.          BevelOuterWidth =   1
  211.          Caption         =   "Outer Bevel"
  212.          CornerSize      =   4
  213.          Font3D          =   2  'Block Right
  214.          FontBold        =   -1  'True
  215.          FontItalic      =   0   'False
  216.          FontName        =   "MS Sans Serif"
  217.          FontSize        =   9.75
  218.          FontStrikethru  =   0   'False
  219.          FontUnderline   =   0   'False
  220.          ForeColor       =   &H00800000&
  221.          Height          =   585
  222.          Index           =   0
  223.          Left            =   60
  224.          TabIndex        =   1
  225.          TabStyle        =   1  'Top Tab
  226.          Top             =   60
  227.          Width           =   1065
  228.          WordWrap        =   -1  'True
  229.       End
  230.       Begin PZLabel WidthLab 
  231.          BorderOuter     =   1  'Solid
  232.          Caption         =   "5"
  233.          ForeColor       =   &H00800000&
  234.          Height          =   255
  235.          Index           =   0
  236.          Left            =   2250
  237.          TabIndex        =   2
  238.          Top             =   1530
  239.          Width           =   435
  240.       End
  241.       Begin PZLabel PanCmd 
  242.          BackColor       =   &H00C0C0C0&
  243.          BevelInnerWidth =   3
  244.          BevelOuter      =   2  'Raised
  245.          BevelOuterWidth =   3
  246.          BorderOuter     =   1  'Solid
  247.          BorderOuterWidth=   2
  248.          Caption         =   "Cancel"
  249.          CornerSize      =   4
  250.          Font3D          =   2  'Block Right
  251.          FontBold        =   -1  'True
  252.          FontItalic      =   0   'False
  253.          FontName        =   "MS Sans Serif"
  254.          FontSize        =   9.75
  255.          FontStrikethru  =   0   'False
  256.          FontUnderline   =   0   'False
  257.          ForeColor       =   &H00800000&
  258.          Height          =   435
  259.          Index           =   0
  260.          Left            =   540
  261.          TabIndex        =   3
  262.          Top             =   1860
  263.          Width           =   1215
  264.       End
  265.       Begin PZLabel PanCmd 
  266.          BackColor       =   &H00C0C0C0&
  267.          BevelInnerWidth =   3
  268.          BevelOuter      =   2  'Raised
  269.          BevelOuterWidth =   3
  270.          BorderOuter     =   1  'Solid
  271.          BorderOuterWidth=   2
  272.          Caption         =   "OK"
  273.          CornerSize      =   4
  274.          Font3D          =   2  'Block Right
  275.          FontBold        =   -1  'True
  276.          FontItalic      =   0   'False
  277.          FontName        =   "MS Sans Serif"
  278.          FontSize        =   9.75
  279.          FontStrikethru  =   0   'False
  280.          FontUnderline   =   0   'False
  281.          ForeColor       =   &H00800000&
  282.          Height          =   435
  283.          Index           =   1
  284.          Left            =   2550
  285.          TabIndex        =   4
  286.          Top             =   1860
  287.          Width           =   1215
  288.       End
  289.       Begin PZLabel WidthPan 
  290.          Alignment       =   1  'Left Justify - MIDDLE
  291.          BackColor       =   &H00C0C0C0&
  292.          BevelOuter      =   1  'Inset
  293.          BevelOuterWidth =   1
  294.          Caption         =   "Width"
  295.          CaptionMargin   =   68
  296.          Font3D          =   2  'Block Right
  297.          FontBold        =   -1  'True
  298.          FontItalic      =   0   'False
  299.          FontName        =   "MS Sans Serif"
  300.          FontSize        =   9.75
  301.          FontStrikethru  =   0   'False
  302.          FontUnderline   =   0   'False
  303.          ForeColor       =   &H00800000&
  304.          Height          =   315
  305.          IconLeft        =   32
  306.          IconTop         =   -7
  307.          Left            =   2220
  308.          TabIndex        =   5
  309.          Top             =   1500
  310.          Width           =   1905
  311.       End
  312.       Begin PZLabel ColorOpt 
  313.          Alignment       =   1  'Left Justify - MIDDLE
  314.          BackColor       =   &H00C0C0C0&
  315.          BevelOuter      =   1  'Inset
  316.          BevelOuterWidth =   1
  317.          Caption         =   "White Light"
  318.          CaptionMargin   =   25
  319.          Font3D          =   2  'Block Right
  320.          FontBold        =   -1  'True
  321.          FontItalic      =   0   'False
  322.          FontName        =   "MS Sans Serif"
  323.          FontSize        =   9.75
  324.          FontStrikethru  =   0   'False
  325.          FontUnderline   =   0   'False
  326.          ForeColor       =   &H00800000&
  327.          Height          =   315
  328.          IconLeft        =   -4
  329.          IconTop         =   -6
  330.          Index           =   0
  331.          Left            =   2220
  332.          TabIndex        =   6
  333.          Top             =   720
  334.          Width           =   1905
  335.       End
  336.       Begin PZLabel BevelOpt 
  337.          Alignment       =   1  'Left Justify - MIDDLE
  338.          BackColor       =   &H00C0C0C0&
  339.          BevelOuter      =   1  'Inset
  340.          BevelOuterWidth =   1
  341.          Caption         =   "None"
  342.          CaptionMargin   =   25
  343.          Font3D          =   2  'Block Right
  344.          FontBold        =   -1  'True
  345.          FontItalic      =   0   'False
  346.          FontName        =   "MS Sans Serif"
  347.          FontSize        =   9.75
  348.          FontStrikethru  =   0   'False
  349.          FontUnderline   =   0   'False
  350.          ForeColor       =   &H00800000&
  351.          Height          =   315
  352.          IconLeft        =   -4
  353.          IconTop         =   -6
  354.          Index           =   0
  355.          Left            =   180
  356.          TabIndex        =   7
  357.          Top             =   720
  358.          Width           =   1905
  359.       End
  360.       Begin PZLabel BevelOpt 
  361.          Alignment       =   1  'Left Justify - MIDDLE
  362.          BackColor       =   &H00C0C0C0&
  363.          BevelOuter      =   1  'Inset
  364.          BevelOuterWidth =   1
  365.          Caption         =   "Inset"
  366.          CaptionMargin   =   25
  367.          Font3D          =   2  'Block Right
  368.          FontBold        =   -1  'True
  369.          FontItalic      =   0   'False
  370.          FontName        =   "MS Sans Serif"
  371.          FontSize        =   9.75
  372.          FontStrikethru  =   0   'False
  373.          FontUnderline   =   0   'False
  374.          ForeColor       =   &H00800000&
  375.          Height          =   315
  376.          IconLeft        =   -4
  377.          IconTop         =   -6
  378.          Index           =   1
  379.          Left            =   180
  380.          TabIndex        =   8
  381.          Top             =   1110
  382.          Width           =   1905
  383.       End
  384.       Begin PZLabel BevelOpt 
  385.          Alignment       =   1  'Left Justify - MIDDLE
  386.          BackColor       =   &H00C0C0C0&
  387.          BevelOuter      =   1  'Inset
  388.          BevelOuterWidth =   1
  389.          Caption         =   "Raised"
  390.          CaptionMargin   =   25
  391.          Font3D          =   2  'Block Right
  392.          FontBold        =   -1  'True
  393.          FontItalic      =   0   'False
  394.          FontName        =   "MS Sans Serif"
  395.          FontSize        =   9.75
  396.          FontStrikethru  =   0   'False
  397.          FontUnderline   =   0   'False
  398.          ForeColor       =   &H00800000&
  399.          Height          =   315
  400.          IconLeft        =   -4
  401.          IconTop         =   -6
  402.          Index           =   2
  403.          Left            =   180
  404.          TabIndex        =   9
  405.          Top             =   1500
  406.          Width           =   1905
  407.       End
  408.       Begin PZLabel BevelOpt 
  409.          Alignment       =   1  'Left Justify - MIDDLE
  410.          BackColor       =   &H00C0C0C0&
  411.          BevelOuter      =   1  'Inset
  412.          BevelOuterWidth =   1
  413.          Caption         =   "None"
  414.          CaptionMargin   =   25
  415.          Font3D          =   2  'Block Right
  416.          FontBold        =   -1  'True
  417.          FontItalic      =   0   'False
  418.          FontName        =   "MS Sans Serif"
  419.          FontSize        =   9.75
  420.          FontStrikethru  =   0   'False
  421.          FontUnderline   =   0   'False
  422.          ForeColor       =   &H00800000&
  423.          Height          =   315
  424.          IconLeft        =   -4
  425.          IconTop         =   -6
  426.          Index           =   3
  427.          Left            =   180
  428.          TabIndex        =   17
  429.          Top             =   720
  430.          Width           =   1905
  431.       End
  432.       Begin PZLabel BevelOpt 
  433.          Alignment       =   1  'Left Justify - MIDDLE
  434.          BackColor       =   &H00C0C0C0&
  435.          BevelOuter      =   1  'Inset
  436.          BevelOuterWidth =   1
  437.          Caption         =   "Inset"
  438.          CaptionMargin   =   25
  439.          Font3D          =   2  'Block Right
  440.          FontBold        =   -1  'True
  441.          FontItalic      =   0   'False
  442.          FontName        =   "MS Sans Serif"
  443.          FontSize        =   9.75
  444.          FontStrikethru  =   0   'False
  445.          FontUnderline   =   0   'False
  446.          ForeColor       =   &H00800000&
  447.          Height          =   315
  448.          IconLeft        =   -4
  449.          IconTop         =   -6
  450.          Index           =   4
  451.          Left            =   180
  452.          TabIndex        =   16
  453.          Top             =   1110
  454.          Width           =   1905
  455.       End
  456.       Begin PZLabel BevelOpt 
  457.          Alignment       =   1  'Left Justify - MIDDLE
  458.          BackColor       =   &H00C0C0C0&
  459.          BevelOuter      =   1  'Inset
  460.          BevelOuterWidth =   1
  461.          Caption         =   "Raised"
  462.          CaptionMargin   =   25
  463.          Font3D          =   2  'Block Right
  464.          FontBold        =   -1  'True
  465.          FontItalic      =   0   'False
  466.          FontName        =   "MS Sans Serif"
  467.          FontSize        =   9.75
  468.          FontStrikethru  =   0   'False
  469.          FontUnderline   =   0   'False
  470.          ForeColor       =   &H00800000&
  471.          Height          =   315
  472.          IconLeft        =   -4
  473.          IconTop         =   -6
  474.          Index           =   5
  475.          Left            =   180
  476.          TabIndex        =   15
  477.          Top             =   1500
  478.          Width           =   1905
  479.       End
  480.       Begin PZLabel BevelOpt 
  481.          Alignment       =   1  'Left Justify - MIDDLE
  482.          BackColor       =   &H00C0C0C0&
  483.          BevelOuter      =   1  'Inset
  484.          BevelOuterWidth =   1
  485.          Caption         =   "None"
  486.          CaptionMargin   =   25
  487.          Font3D          =   2  'Block Right
  488.          FontBold        =   -1  'True
  489.          FontItalic      =   0   'False
  490.          FontName        =   "MS Sans Serif"
  491.          FontSize        =   9.75
  492.          FontStrikethru  =   0   'False
  493.          FontUnderline   =   0   'False
  494.          ForeColor       =   &H00800000&
  495.          Height          =   315
  496.          IconLeft        =   -4
  497.          IconTop         =   -6
  498.          Index           =   6
  499.          Left            =   180
  500.          TabIndex        =   18
  501.          Top             =   720
  502.          Width           =   1905
  503.       End
  504.       Begin PZLabel BevelOpt 
  505.          Alignment       =   1  'Left Justify - MIDDLE
  506.          BackColor       =   &H00C0C0C0&
  507.          BevelOuter      =   1  'Inset
  508.          BevelOuterWidth =   1
  509.          Caption         =   "Solid"
  510.          CaptionMargin   =   25
  511.          Font3D          =   2  'Block Right
  512.          FontBold        =   -1  'True
  513.          FontItalic      =   0   'False
  514.          FontName        =   "MS Sans Serif"
  515.          FontSize        =   9.75
  516.          FontStrikethru  =   0   'False
  517.          FontUnderline   =   0   'False
  518.          ForeColor       =   &H00800000&
  519.          Height          =   315
  520.          IconLeft        =   -4
  521.          IconTop         =   -6
  522.          Index           =   7
  523.          Left            =   180
  524.          TabIndex        =   19
  525.          Top             =   1110
  526.          Width           =   1905
  527.       End
  528.       Begin PZLabel BevelOpt 
  529.          Alignment       =   1  'Left Justify - MIDDLE
  530.          BackColor       =   &H00C0C0C0&
  531.          BevelOuter      =   1  'Inset
  532.          BevelOuterWidth =   1
  533.          Caption         =   "Filled"
  534.          CaptionMargin   =   25
  535.          Font3D          =   2  'Block Right
  536.          FontBold        =   -1  'True
  537.          FontItalic      =   0   'False
  538.          FontName        =   "MS Sans Serif"
  539.          FontSize        =   9.75
  540.          FontStrikethru  =   0   'False
  541.          FontUnderline   =   0   'False
  542.          ForeColor       =   &H00800000&
  543.          Height          =   315
  544.          IconLeft        =   -4
  545.          IconTop         =   -6
  546.          Index           =   8
  547.          Left            =   180
  548.          TabIndex        =   20
  549.          Top             =   1500
  550.          Width           =   1905
  551.       End
  552.       Begin PZLabel BevelOpt 
  553.          Alignment       =   1  'Left Justify - MIDDLE
  554.          BackColor       =   &H00C0C0C0&
  555.          BevelOuter      =   1  'Inset
  556.          BevelOuterWidth =   1
  557.          Caption         =   "None"
  558.          CaptionMargin   =   25
  559.          Font3D          =   2  'Block Right
  560.          FontBold        =   -1  'True
  561.          FontItalic      =   0   'False
  562.          FontName        =   "MS Sans Serif"
  563.          FontSize        =   9.75
  564.          FontStrikethru  =   0   'False
  565.          FontUnderline   =   0   'False
  566.          ForeColor       =   &H00800000&
  567.          Height          =   315
  568.          IconLeft        =   -4
  569.          IconTop         =   -6
  570.          Index           =   9
  571.          Left            =   180
  572.          TabIndex        =   21
  573.          Top             =   720
  574.          Width           =   1905
  575.       End
  576.       Begin PZLabel BevelOpt 
  577.          Alignment       =   1  'Left Justify - MIDDLE
  578.          BackColor       =   &H00C0C0C0&
  579.          BevelOuter      =   1  'Inset
  580.          BevelOuterWidth =   1
  581.          Caption         =   "Solid"
  582.          CaptionMargin   =   25
  583.          Font3D          =   2  'Block Right
  584.          FontBold        =   -1  'True
  585.          FontItalic      =   0   'False
  586.          FontName        =   "MS Sans Serif"
  587.          FontSize        =   9.75
  588.          FontStrikethru  =   0   'False
  589.          FontUnderline   =   0   'False
  590.          ForeColor       =   &H00800000&
  591.          Height          =   315
  592.          IconLeft        =   -4
  593.          IconTop         =   -6
  594.          Index           =   10
  595.          Left            =   180
  596.          TabIndex        =   22
  597.          Top             =   1110
  598.          Width           =   1905
  599.       End
  600.       Begin PZLabel BevelOpt 
  601.          Alignment       =   1  'Left Justify - MIDDLE
  602.          BackColor       =   &H00C0C0C0&
  603.          BevelOuter      =   1  'Inset
  604.          BevelOuterWidth =   1
  605.          Caption         =   "Filled"
  606.          CaptionMargin   =   25
  607.          Font3D          =   2  'Block Right
  608.          FontBold        =   -1  'True
  609.          FontItalic      =   0   'False
  610.          FontName        =   "MS Sans Serif"
  611.          FontSize        =   9.75
  612.          FontStrikethru  =   0   'False
  613.          FontUnderline   =   0   'False
  614.          ForeColor       =   &H00800000&
  615.          Height          =   315
  616.          IconLeft        =   -4
  617.          IconTop         =   -6
  618.          Index           =   11
  619.          Left            =   180
  620.          TabIndex        =   23
  621.          Top             =   1500
  622.          Width           =   1905
  623.       End
  624.       Begin PZLabel ColorOpt 
  625.          Alignment       =   1  'Left Justify - MIDDLE
  626.          BackColor       =   &H00C0C0C0&
  627.          BevelOuter      =   1  'Inset
  628.          BevelOuterWidth =   1
  629.          Caption         =   "Black Shade"
  630.          CaptionMargin   =   25
  631.          Font3D          =   2  'Block Right
  632.          FontBold        =   -1  'True
  633.          FontItalic      =   0   'False
  634.          FontName        =   "MS Sans Serif"
  635.          FontSize        =   9.75
  636.          FontStrikethru  =   0   'False
  637.          FontUnderline   =   0   'False
  638.          ForeColor       =   &H00800000&
  639.          Height          =   315
  640.          IconLeft        =   -4
  641.          IconTop         =   -6
  642.          Index           =   1
  643.          Left            =   2220
  644.          TabIndex        =   10
  645.          Top             =   1110
  646.          Width           =   1905
  647.       End
  648.       Begin PZLabel TabPan 
  649.          Alignment       =   6  'Center - TOP
  650.          BackColor       =   &H00C0C0C0&
  651.          BevelInner      =   2  'Raised
  652.          BevelInnerWidth =   1
  653.          BevelOuter      =   2  'Raised
  654.          BevelOuterShading=   2  'Dark
  655.          BevelOuterWidth =   1
  656.          Font3D          =   2  'Block Right
  657.          FontBold        =   -1  'True
  658.          FontItalic      =   0   'False
  659.          FontName        =   "MS Sans Serif"
  660.          FontSize        =   9.75
  661.          FontStrikethru  =   0   'False
  662.          FontUnderline   =   -1  'True
  663.          ForeColor       =   &H00800000&
  664.          Height          =   1755
  665.          Left            =   60
  666.          TabIndex        =   11
  667.          Top             =   600
  668.          Width           =   4170
  669.       End
  670.       Begin PZLabel Tabs 
  671.          Alignment       =   6  'Center - TOP
  672.          BackColor       =   &H00FFFFFF&
  673.          BevelInner      =   2  'Raised
  674.          BevelInnerWidth =   1
  675.          BevelOuter      =   2  'Raised
  676.          BevelOuterShading=   2  'Dark
  677.          BevelOuterWidth =   1
  678.          Caption         =   "Outer Border"
  679.          CornerSize      =   4
  680.          Font3D          =   2  'Block Right
  681.          FontBold        =   -1  'True
  682.          FontItalic      =   0   'False
  683.          FontName        =   "MS Sans Serif"
  684.          FontSize        =   9.75
  685.          FontStrikethru  =   0   'False
  686.          FontUnderline   =   0   'False
  687.          ForeColor       =   &H00800000&
  688.          Height          =   585
  689.          Index           =   2
  690.          Left            =   2160
  691.          TabIndex        =   12
  692.          TabStyle        =   1  'Top Tab
  693.          Top             =   60
  694.          Width           =   1035
  695.          WordWrap        =   -1  'True
  696.       End
  697.       Begin PZLabel Tabs 
  698.          Alignment       =   6  'Center - TOP
  699.          BackColor       =   &H00FFFFFF&
  700.          BevelInner      =   2  'Raised
  701.          BevelInnerWidth =   1
  702.          BevelOuter      =   2  'Raised
  703.          BevelOuterShading=   2  'Dark
  704.          BevelOuterWidth =   1
  705.          Caption         =   "Inner Border"
  706.          CornerSize      =   4
  707.          Font3D          =   2  'Block Right
  708.          FontBold        =   -1  'True
  709.          FontItalic      =   0   'False
  710.          FontName        =   "MS Sans Serif"
  711.          FontSize        =   9.75
  712.          FontStrikethru  =   0   'False
  713.          FontUnderline   =   0   'False
  714.          ForeColor       =   &H00800000&
  715.          Height          =   585
  716.          Index           =   3
  717.          Left            =   3195
  718.          TabIndex        =   13
  719.          TabStyle        =   1  'Top Tab
  720.          Top             =   60
  721.          Width           =   1035
  722.          WordWrap        =   -1  'True
  723.       End
  724.       Begin PZLabel Tabs 
  725.          Alignment       =   6  'Center - TOP
  726.          BackColor       =   &H00FFFFFF&
  727.          BevelInner      =   2  'Raised
  728.          BevelInnerWidth =   1
  729.          BevelOuter      =   2  'Raised
  730.          BevelOuterShading=   2  'Dark
  731.          BevelOuterWidth =   1
  732.          Caption         =   "Inner Bevel"
  733.          CornerSize      =   4
  734.          Font3D          =   2  'Block Right
  735.          FontBold        =   -1  'True
  736.          FontItalic      =   0   'False
  737.          FontName        =   "MS Sans Serif"
  738.          FontSize        =   9.75
  739.          FontStrikethru  =   0   'False
  740.          FontUnderline   =   0   'False
  741.          ForeColor       =   &H00800000&
  742.          Height          =   585
  743.          Index           =   1
  744.          Left            =   1125
  745.          TabIndex        =   14
  746.          TabStyle        =   1  'Top Tab
  747.          Top             =   60
  748.          Width           =   1035
  749.          WordWrap        =   -1  'True
  750.       End
  751.    End
  752.    Begin Image IconImg 
  753.       Height          =   480
  754.       Index           =   5
  755.       Left            =   2670
  756.       Picture         =   BEVELOPT.FRX:0000
  757.       Top             =   3930
  758.       Width           =   480
  759.    End
  760.    Begin Image IconImg 
  761.       Height          =   480
  762.       Index           =   4
  763.       Left            =   2250
  764.       Picture         =   BEVELOPT.FRX:0302
  765.       Top             =   3960
  766.       Width           =   480
  767.    End
  768.    Begin Image IconImg 
  769.       Height          =   480
  770.       Index           =   3
  771.       Left            =   1830
  772.       Picture         =   BEVELOPT.FRX:0604
  773.       Top             =   3960
  774.       Width           =   480
  775.    End
  776.    Begin Image IconImg 
  777.       Height          =   480
  778.       Index           =   2
  779.       Left            =   1320
  780.       Picture         =   BEVELOPT.FRX:0906
  781.       Top             =   3960
  782.       Width           =   480
  783.    End
  784.    Begin Image IconImg 
  785.       Height          =   480
  786.       Index           =   1
  787.       Left            =   750
  788.       Picture         =   BEVELOPT.FRX:0C08
  789.       Top             =   3960
  790.       Width           =   480
  791.    End
  792.    Begin Image IconImg 
  793.       Height          =   480
  794.       Index           =   0
  795.       Left            =   210
  796.       Picture         =   BEVELOPT.FRX:0F0A
  797.       Top             =   3930
  798.       Width           =   480
  799.    End
  800. Option Explicit
  801. Dim KeyIn(3) As Integer
  802. Dim Spinning As Integer
  803. Dim zTab As Integer
  804. Sub BevelOpt_Click (index As Integer)
  805.     Dim i As Integer
  806.     i = index \ 3
  807.     Tabs(i).Tag = Str$(index - i * 3)
  808.     ShowOptions False
  809. End Sub
  810. Sub ColorOpt_Click (index As Integer)
  811.     Dim i As Integer
  812.     If index < 4 Then
  813.         i = (index And 1) + 1 Xor Val(ColorOpt(index).Tag)
  814.         ColorOpt(index).Tag = Str$(i)
  815.         ShowOptions False
  816.     ElseIf (index And 1) = 0 Then
  817.         CD.Flags = CC_RGBINIT
  818.         CD.Color = Val(ColorOpt(index).Tag)
  819.         CD.Action = DLG_COLOR
  820.         ColorOpt(index).Tag = Str$(CD.Color)
  821.     End If
  822. End Sub
  823. Sub Form_Activate ()
  824.     KeyIn(0) = False
  825.     ShowOptions True
  826. End Sub
  827. Sub Form_KeyPress (keyascii As Integer)
  828.     Dim i As Integer
  829.     Dim key As String
  830.     Dim Value As Integer
  831.     Value = Val(WidthLab(zTab))
  832.     key = Chr$(keyascii)
  833.     Select Case key
  834.     Case "0" To "9"
  835.         If KeyIn(zTab) Then
  836.             Value = Value * 10 + keyascii - &H30
  837.         Else
  838.              KeyIn(zTab) = True
  839.              Value = keyascii - &H30
  840.         End If
  841.     Case Chr$(8) ' backspace
  842.         Value = Value \ 10
  843.     End Select
  844.     If Value > 30 Then
  845.         Value = 30
  846.     End If
  847.     WidthLab(zTab) = Str$(Value)
  848.     ShowOptions False
  849. End Sub
  850. Sub PanCmd_MouseDown (index As Integer, Button As Integer, Shift As Integer, x As Single, y As Single)
  851.     PanCmd(index).BevelOuter = 1
  852. End Sub
  853. Sub PanCmd_MouseUp (index As Integer, Button As Integer, Shift As Integer, x As Single, y As Single)
  854.     PanCmd(index).BevelOuter = 2
  855.     DoEvents
  856.     Tag = Str$(index)
  857.     Me.Hide
  858. End Sub
  859. Sub ShowOptions (ByVal ToBeShown As Integer)
  860.     Dim i As Integer, j As Integer, k As Integer, z As Integer
  861.     Dim hIcon As Integer
  862.     ' After the form has been shown, the backpanel doesn't need
  863.     ' to be painted when updating other controls - this prevents
  864.     ' flashing
  865.     BackPan.EnablePainting = ToBeShown
  866.     ' the TabPan tag represents which tab is "up"
  867.     z = Val(TabPan.Tag)
  868.     If zTab <> z Then
  869.         ' reorder the tabs - KeyIn is used to remember if
  870.         ' a value has been typed into the width label for this
  871.         ' tab
  872.         KeyIn(z) = False
  873.         For i = 0 To 3
  874.             If i = z Then
  875.                 Tabs(i).BackColor = &HC0C0C0
  876.                 Tabs(i).ZOrder
  877.             Else
  878.                 Tabs(i).BackColor = &HFFFFFF
  879.                 Tabs(i).ZOrder 1
  880.             End If
  881.         Next
  882.         ' allow the tabs to paint
  883.         If Not ToBeShown Then DoEvents
  884.     End If
  885.     ' the tab panel doesn't need to paint any more
  886.     TabPan.EnablePainting = ToBeShown
  887.     ' show the options that correspond to the "up" tab
  888.     ' note that there is a set of three Bevel options per tab
  889.     ' and each set occupies the same space
  890.     For j = 0 To 11
  891.         BevelOpt(j).Visible = False
  892.         If j < 4 Then WidthLab(j).Visible = False
  893.         If j < 8 Then ColorOpt(j).Visible = False
  894.     Next
  895.     For j = 0 To 2
  896.         ' set the bevel options
  897.         k = z * 3 + j
  898.         hIcon = 3
  899.         If j = Val(Tabs(z).Tag) Then
  900.             hIcon = 4
  901.         End If
  902.         BevelOpt(k).Icon = IconImg(hIcon).Picture
  903.         BevelOpt(k).Visible = True
  904.         ' set the color options also
  905.         If j < 2 Then
  906.         
  907.             k = z * 2 + j
  908.             hIcon = 0 ' this means no icon
  909.             If z < 2 Then
  910.                 hIcon = 3 ' for tabs 0 and 1 option off by default
  911.                 If Val(ColorOpt(k).Tag) Then
  912.                     hIcon = 4
  913.                 End If
  914.             ElseIf j = 0 Then
  915.                 hIcon = 5 ' for tabs 2 and 3 a little green button
  916.             End If
  917.             If hIcon Then ColorOpt(k).Icon = IconImg(hIcon).Picture
  918.             ColorOpt(k).Visible = True
  919.         End If
  920.     Next
  921.     'WidthLab(z) = WidthLab(z).Tag
  922.     WidthLab(z).Visible = True
  923.     ' clip out the width spinner labels (since they all occupy the same
  924.     ' location you only need to clip the first one
  925.     WidthLab(0).ClipCtl = WidthPan.hCtl
  926.     ' stop all that spinning...
  927.     If Not Spinning Then WidthPan.Icon = IconImg(0).Picture
  928.     ' now let everybody finish painting before restoring the
  929.     ' background painting
  930.     DoEvents
  931.     zTab = z
  932.     TabPan.EnablePainting = True
  933.     BackPan.EnablePainting = True
  934. End Sub
  935. Sub Tabs_Click (index As Integer)
  936.     TabPan.Tag = Str$(index)
  937.     ShowOptions False
  938. End Sub
  939. Sub WidthPan_MouseDown (Button As Integer, Shift As Integer, x As Single, y As Single)
  940.     Dim i As Integer, n As Integer
  941.     Dim ix As Integer, iy As Integer
  942.     Dim t As Single
  943.     ' the following spinner index values were derived by subtracting
  944.     ' an offset and dividing by the size of the spin hot spots
  945.     ' if iy = 1 and ix = 1 or 2 then we got a click
  946.     ix = (x \ Tpx - 23) \ 13
  947.     iy = (y \ Tpy + 10) \ 14
  948.     ' uncomment the next two statements to test the values in real time
  949.     'Debug.Print ix, iy
  950.     'Exit Sub
  951.     If iy = 1 Then
  952.         Spinning = True
  953.         If ix = 1 Then
  954.             i = -1
  955.         ElseIf ix = 2 Then
  956.             i = 1
  957.         Else
  958.             Exit Sub
  959.         End If
  960.         Do While Spinning
  961.             ' holding down the mouse button spins the spinner
  962.             ' change the value every .5 seconds
  963.             If Timer - t > .5 Then
  964.                 t = Timer
  965.                 n = Val(WidthLab(zTab)) + i
  966.                 If n < 0 Then
  967.                     n = 0
  968.                 ElseIf n > 30 Then
  969.                     n = 30
  970.                 End If
  971.                 TabPan.EnablePainting = False
  972.                 BackPan.EnablePainting = False
  973.                 WidthPan.Icon = IconImg(ix).Picture
  974.                 WidthLab(zTab) = Str$(n)
  975.             End If
  976.             ShowOptions False
  977.         Loop
  978.     End If
  979. End Sub
  980. Sub WidthPan_MouseUp (Button As Integer, Shift As Integer, x As Single, y As Single)
  981.     ' stop spinning
  982.     Spinning = False
  983.     ShowOptions False
  984. End Sub
  985.