home *** CD-ROM | disk | FTP | other *** search
/ Multimédia la Compil' 2 / Sybex_Multimedia_La_Compil_2.iso / cooltool / slider / slider.frm next >
Text File  |  1995-04-20  |  30KB  |  910 lines

  1. VERSION 2.00
  2. Begin Form FormSlider 
  3.    BackColor       =   &H00C0C0C0&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Slider Properties Example"
  6.    ClientHeight    =   4845
  7.    ClientLeft      =   855
  8.    ClientTop       =   1080
  9.    ClientWidth     =   8520
  10.    Height          =   5250
  11.    Left            =   795
  12.    LinkTopic       =   "Form2"
  13.    MaxButton       =   0   'False
  14.    ScaleHeight     =   4845
  15.    ScaleWidth      =   8520
  16.    Top             =   735
  17.    Width           =   8640
  18.    Begin Frame Frame10 
  19.       BackColor       =   &H00C0C0C0&
  20.       Caption         =   "Bevel Inner"
  21.       Height          =   855
  22.       Left            =   6060
  23.       TabIndex        =   31
  24.       Top             =   60
  25.       Width           =   2355
  26.       Begin OptionButton OptionBevelInner 
  27.          BackColor       =   &H00C0C0C0&
  28.          Caption         =   "Lowered"
  29.          FontBold        =   0   'False
  30.          FontItalic      =   0   'False
  31.          FontName        =   "MS Sans Serif"
  32.          FontSize        =   8.25
  33.          FontStrikethru  =   0   'False
  34.          FontUnderline   =   0   'False
  35.          Height          =   255
  36.          Index           =   3
  37.          Left            =   1080
  38.          TabIndex        =   35
  39.          Top             =   510
  40.          Width           =   885
  41.       End
  42.       Begin OptionButton OptionBevelInner 
  43.          BackColor       =   &H00C0C0C0&
  44.          Caption         =   "Inset"
  45.          FontBold        =   0   'False
  46.          FontItalic      =   0   'False
  47.          FontName        =   "MS Sans Serif"
  48.          FontSize        =   8.25
  49.          FontStrikethru  =   0   'False
  50.          FontUnderline   =   0   'False
  51.          Height          =   255
  52.          Index           =   2
  53.          Left            =   120
  54.          TabIndex        =   34
  55.          Top             =   510
  56.          Width           =   885
  57.       End
  58.       Begin OptionButton OptionBevelInner 
  59.          BackColor       =   &H00C0C0C0&
  60.          Caption         =   "Raised"
  61.          FontBold        =   0   'False
  62.          FontItalic      =   0   'False
  63.          FontName        =   "MS Sans Serif"
  64.          FontSize        =   8.25
  65.          FontStrikethru  =   0   'False
  66.          FontUnderline   =   0   'False
  67.          Height          =   255
  68.          Index           =   1
  69.          Left            =   1080
  70.          TabIndex        =   33
  71.          Top             =   240
  72.          Width           =   885
  73.       End
  74.       Begin OptionButton OptionBevelInner 
  75.          BackColor       =   &H00C0C0C0&
  76.          Caption         =   "None"
  77.          FontBold        =   0   'False
  78.          FontItalic      =   0   'False
  79.          FontName        =   "MS Sans Serif"
  80.          FontSize        =   8.25
  81.          FontStrikethru  =   0   'False
  82.          FontUnderline   =   0   'False
  83.          Height          =   255
  84.          Index           =   0
  85.          Left            =   120
  86.          TabIndex        =   32
  87.          Top             =   240
  88.          Value           =   -1  'True
  89.          Width           =   885
  90.       End
  91.    End
  92.    Begin Frame Frame5 
  93.       BackColor       =   &H00C0C0C0&
  94.       Caption         =   "MIDI CoolTools Slider"
  95.       Height          =   3870
  96.       Left            =   2580
  97.       TabIndex        =   24
  98.       Top             =   60
  99.       Width           =   3315
  100.       Begin VSlider VSlider1 
  101.          BackColor       =   &H00C0C0C0&
  102.          BevelInner      =   0  'None
  103.          BevelOuter      =   0  'None
  104.          BevelWidth      =   2
  105.          BorderWidth     =   2
  106.          Gap             =   3
  107.          Height          =   3495
  108.          LargeChange     =   10
  109.          Left            =   120
  110.          LinkControl     =   ""
  111.          LinkProperty    =   ""
  112.          Max             =   100
  113.          Min             =   0
  114.          ThumbHeight     =   120
  115.          ThumbStyle      =   0  'Normal
  116.          ThumbWidth      =   355
  117.          TickColor       =   &H00000000&
  118.          TickCount       =   5
  119.          TickLength      =   4
  120.          TickMarks       =   0  'No Tick Marks
  121.          TickWidth       =   1
  122.          Top             =   270
  123.          TrackBevel      =   0  'None
  124.          TrackWidth      =   0
  125.          Value           =   0
  126.          Width           =   495
  127.       End
  128.    End
  129.    Begin CommonDialog CMDialog1 
  130.       Left            =   90
  131.       Top             =   4920
  132.    End
  133.    Begin Frame Frame9 
  134.       BackColor       =   &H00C0C0C0&
  135.       Caption         =   "Slider Width"
  136.       Height          =   675
  137.       Left            =   2580
  138.       TabIndex        =   12
  139.       Top             =   4080
  140.       Width           =   3315
  141.       Begin HSlider HScrollSliderWidth 
  142.          BackColor       =   &H00C0C0C0&
  143.          BevelInner      =   0  'None
  144.          BevelOuter      =   0  'None
  145.          BevelWidth      =   2
  146.          BorderWidth     =   2
  147.          Gap             =   3
  148.          Height          =   285
  149.          LargeChange     =   10
  150.          Left            =   120
  151.          LinkControl     =   ""
  152.          LinkProperty    =   ""
  153.          Max             =   2900
  154.          Min             =   200
  155.          ThumbHeight     =   250
  156.          ThumbStyle      =   2  'Pointed Down
  157.          ThumbWidth      =   200
  158.          TickColor       =   &H00000000&
  159.          TickCount       =   10
  160.          TickLength      =   4
  161.          TickMarks       =   2  'Bottom
  162.          TickWidth       =   1
  163.          Top             =   300
  164.          TrackBevel      =   1  'Raised
  165.          TrackWidth      =   3
  166.          Value           =   495
  167.          Width           =   3135
  168.       End
  169.    End
  170.    Begin Frame FrameBevelWidth 
  171.       BackColor       =   &H00C0C0C0&
  172.       Caption         =   "Bevel Width"
  173.       Height          =   675
  174.       Left            =   6060
  175.       TabIndex        =   11
  176.       Top             =   1860
  177.       Width           =   2355
  178.       Begin HSlider HScrollBevelWidth 
  179.          BackColor       =   &H00C0C0C0&
  180.          BevelInner      =   0  'None
  181.          BevelOuter      =   0  'None
  182.          BevelWidth      =   2
  183.          BorderWidth     =   2
  184.          Gap             =   3
  185.          Height          =   285
  186.          LargeChange     =   10
  187.          Left            =   120
  188.          LinkControl     =   ""
  189.          LinkProperty    =   ""
  190.          Max             =   10
  191.          Min             =   0
  192.          ThumbHeight     =   250
  193.          ThumbStyle      =   2  'Pointed Down
  194.          ThumbWidth      =   200
  195.          TickColor       =   &H00000000&
  196.          TickCount       =   3
  197.          TickLength      =   4
  198.          TickMarks       =   2  'Bottom
  199.          TickWidth       =   1
  200.          Top             =   270
  201.          TrackBevel      =   1  'Raised
  202.          TrackWidth      =   3
  203.          Value           =   2
  204.          Width           =   2145
  205.       End
  206.    End
  207.    Begin Frame Frame7 
  208.       BackColor       =   &H00C0C0C0&
  209.       Caption         =   "Color"
  210.       Height          =   1095
  211.       Left            =   60
  212.       TabIndex        =   10
  213.       Top             =   1650
  214.       Width           =   2355
  215.       Begin CommandButton CmdBackColor 
  216.          Caption         =   "Background Color"
  217.          FontBold        =   0   'False
  218.          FontItalic      =   0   'False
  219.          FontName        =   "MS Sans Serif"
  220.          FontSize        =   8.25
  221.          FontStrikethru  =   0   'False
  222.          FontUnderline   =   0   'False
  223.          Height          =   315
  224.          Left            =   150
  225.          TabIndex        =   18
  226.          Top             =   300
  227.          Width           =   2115
  228.       End
  229.       Begin CommandButton CmdForeColor 
  230.          Caption         =   "Foreground Color"
  231.          FontBold        =   0   'False
  232.          FontItalic      =   0   'False
  233.          FontName        =   "MS Sans Serif"
  234.          FontSize        =   8.25
  235.          FontStrikethru  =   0   'False
  236.          FontUnderline   =   0   'False
  237.          Height          =   315
  238.          Left            =   150
  239.          TabIndex        =   17
  240.          Top             =   660
  241.          Width           =   2115
  242.       End
  243.    End
  244.    Begin Frame Frame6 
  245.       BackColor       =   &H00C0C0C0&
  246.       Caption         =   "Tick Marks"
  247.       Height          =   1935
  248.       Left            =   60
  249.       TabIndex        =   9
  250.       Top             =   2820
  251.       Width           =   2355
  252.       Begin OptionButton OptionTickMark 
  253.          BackColor       =   &H00C0C0C0&
  254.          Caption         =   "Right"
  255.          FontBold        =   0   'False
  256.          FontItalic      =   0   'False
  257.          FontName        =   "MS Sans Serif"
  258.          FontSize        =   8.25
  259.          FontStrikethru  =   0   'False
  260.          FontUnderline   =   0   'False
  261.          Height          =   255
  262.          Index           =   2
  263.          Left            =   120
  264.          TabIndex        =   0
  265.          Top             =   510
  266.          Width           =   885
  267.       End
  268.       Begin OptionButton OptionTickMark 
  269.          BackColor       =   &H00C0C0C0&
  270.          Caption         =   "Both"
  271.          FontBold        =   0   'False
  272.          FontItalic      =   0   'False
  273.          FontName        =   "MS Sans Serif"
  274.          FontSize        =   8.25
  275.          FontStrikethru  =   0   'False
  276.          FontUnderline   =   0   'False
  277.          Height          =   255
  278.          Index           =   3
  279.          Left            =   1050
  280.          TabIndex        =   1
  281.          Top             =   510
  282.          Width           =   1275
  283.       End
  284.       Begin OptionButton OptionTickMark 
  285.          BackColor       =   &H00C0C0C0&
  286.          Caption         =   "Left"
  287.          FontBold        =   0   'False
  288.          FontItalic      =   0   'False
  289.          FontName        =   "MS Sans Serif"
  290.          FontSize        =   8.25
  291.          FontStrikethru  =   0   'False
  292.          FontUnderline   =   0   'False
  293.          Height          =   255
  294.          Index           =   1
  295.          Left            =   1050
  296.          TabIndex        =   2
  297.          Top             =   270
  298.          Width           =   1185
  299.       End
  300.       Begin OptionButton OptionTickMark 
  301.          BackColor       =   &H00C0C0C0&
  302.          Caption         =   "None"
  303.          FontBold        =   0   'False
  304.          FontItalic      =   0   'False
  305.          FontName        =   "MS Sans Serif"
  306.          FontSize        =   8.25
  307.          FontStrikethru  =   0   'False
  308.          FontUnderline   =   0   'False
  309.          Height          =   255
  310.          Index           =   0
  311.          Left            =   120
  312.          TabIndex        =   3
  313.          Top             =   270
  314.          Value           =   -1  'True
  315.          Width           =   885
  316.       End
  317.       Begin HScrollBar HScrollTickCount 
  318.          Enabled         =   0   'False
  319.          Height          =   255
  320.          LargeChange     =   5
  321.          Left            =   660
  322.          Max             =   25
  323.          TabIndex        =   21
  324.          Top             =   870
  325.          Value           =   5
  326.          Width           =   1575
  327.       End
  328.       Begin HScrollBar HScrollTickWidth 
  329.          Enabled         =   0   'False
  330.          Height          =   255
  331.          LargeChange     =   5
  332.          Left            =   660
  333.          Max             =   20
  334.          Min             =   1
  335.          TabIndex        =   20
  336.          Top             =   1170
  337.          Value           =   1
  338.          Width           =   1575
  339.       End
  340.       Begin CommandButton CmdTickColor 
  341.          Caption         =   "Tick Color"
  342.          Enabled         =   0   'False
  343.          FontBold        =   0   'False
  344.          FontItalic      =   0   'False
  345.          FontName        =   "MS Sans Serif"
  346.          FontSize        =   8.25
  347.          FontStrikethru  =   0   'False
  348.          FontUnderline   =   0   'False
  349.          Height          =   315
  350.          Left            =   120
  351.          TabIndex        =   19
  352.          Top             =   1470
  353.          Width           =   2115
  354.       End
  355.       Begin Label Label3 
  356.          BackColor       =   &H00C0C0C0&
  357.          Caption         =   "Count"
  358.          FontBold        =   0   'False
  359.          FontItalic      =   0   'False
  360.          FontName        =   "MS Sans Serif"
  361.          FontSize        =   8.25
  362.          FontStrikethru  =   0   'False
  363.          FontUnderline   =   0   'False
  364.          Height          =   255
  365.          Left            =   120
  366.          TabIndex        =   23
  367.          Top             =   870
  368.          Width           =   495
  369.       End
  370.       Begin Label Label4 
  371.          BackColor       =   &H00C0C0C0&
  372.          Caption         =   "Width"
  373.          FontBold        =   0   'False
  374.          FontItalic      =   0   'False
  375.          FontName        =   "MS Sans Serif"
  376.          FontSize        =   8.25
  377.          FontStrikethru  =   0   'False
  378.          FontUnderline   =   0   'False
  379.          Height          =   255
  380.          Left            =   120
  381.          TabIndex        =   22
  382.          Top             =   1170
  383.          Width           =   495
  384.       End
  385.    End
  386.    Begin Frame FrameBorderWidth 
  387.       BackColor       =   &H00C0C0C0&
  388.       Caption         =   "Border Width"
  389.       Height          =   675
  390.       Left            =   6060
  391.       TabIndex        =   8
  392.       Top             =   2610
  393.       Width           =   2355
  394.       Begin HSlider HScrollBorderWidth 
  395.          BackColor       =   &H00C0C0C0&
  396.          BevelInner      =   0  'None
  397.          BevelOuter      =   0  'None
  398.          BevelWidth      =   2
  399.          BorderWidth     =   2
  400.          Gap             =   3
  401.          Height          =   285
  402.          LargeChange     =   10
  403.          Left            =   120
  404.          LinkControl     =   ""
  405.          LinkProperty    =   ""
  406.          Max             =   10
  407.          Min             =   0
  408.          ThumbHeight     =   250
  409.          ThumbStyle      =   2  'Pointed Down
  410.          ThumbWidth      =   200
  411.          TickColor       =   &H00000000&
  412.          TickCount       =   3
  413.          TickLength      =   4
  414.          TickMarks       =   2  'Bottom
  415.          TickWidth       =   1
  416.          Top             =   270
  417.          TrackBevel      =   1  'Raised
  418.          TrackWidth      =   3
  419.          Value           =   2
  420.          Width           =   2145
  421.       End
  422.    End
  423.    Begin Frame Frame3 
  424.       BackColor       =   &H00C0C0C0&
  425.       Caption         =   "Track Bevel"
  426.       Height          =   1335
  427.       Left            =   6060
  428.       TabIndex        =   7
  429.       Top             =   3420
  430.       Width           =   2355
  431.       Begin OptionButton OptionTrackBevel 
  432.          BackColor       =   &H00C0C0C0&
  433.          Caption         =   "Lowered"
  434.          FontBold        =   0   'False
  435.          FontItalic      =   0   'False
  436.          FontName        =   "MS Sans Serif"
  437.          FontSize        =   8.25
  438.          FontStrikethru  =   0   'False
  439.          FontUnderline   =   0   'False
  440.          Height          =   255
  441.          Index           =   3
  442.          Left            =   1110
  443.          TabIndex        =   39
  444.          Top             =   570
  445.          Width           =   885
  446.       End
  447.       Begin OptionButton OptionTrackBevel 
  448.          BackColor       =   &H00C0C0C0&
  449.          Caption         =   "Inset"
  450.          FontBold        =   0   'False
  451.          FontItalic      =   0   'False
  452.          FontName        =   "MS Sans Serif"
  453.          FontSize        =   8.25
  454.          FontStrikethru  =   0   'False
  455.          FontUnderline   =   0   'False
  456.          Height          =   255
  457.          Index           =   2
  458.          Left            =   150
  459.          TabIndex        =   38
  460.          Top             =   570
  461.          Width           =   885
  462.       End
  463.       Begin OptionButton OptionTrackBevel 
  464.          BackColor       =   &H00C0C0C0&
  465.          Caption         =   "Raised"
  466.          FontBold        =   0   'False
  467.          FontItalic      =   0   'False
  468.          FontName        =   "MS Sans Serif"
  469.          FontSize        =   8.25
  470.          FontStrikethru  =   0   'False
  471.          FontUnderline   =   0   'False
  472.          Height          =   255
  473.          Index           =   1
  474.          Left            =   1110
  475.          TabIndex        =   37
  476.          Top             =   300
  477.          Width           =   885
  478.       End
  479.       Begin OptionButton OptionTrackBevel 
  480.          BackColor       =   &H00C0C0C0&
  481.          Caption         =   "None"
  482.          FontBold        =   0   'False
  483.          FontItalic      =   0   'False
  484.          FontName        =   "MS Sans Serif"
  485.          FontSize        =   8.25
  486.          FontStrikethru  =   0   'False
  487.          FontUnderline   =   0   'False
  488.          Height          =   255
  489.          Index           =   0
  490.          Left            =   150
  491.          TabIndex        =   36
  492.          Top             =   300
  493.          Value           =   -1  'True
  494.          Width           =   885
  495.       End
  496.       Begin HScrollBar HScrollTrackWidth 
  497.          Enabled         =   0   'False
  498.          Height          =   255
  499.          LargeChange     =   5
  500.          Left            =   660
  501.          Max             =   10
  502.          TabIndex        =   25
  503.          Top             =   870
  504.          Value           =   2
  505.          Width           =   1515
  506.       End
  507.       Begin Label Label5 
  508.          BackColor       =   &H00C0C0C0&
  509.          Caption         =   "Width"
  510.          FontBold        =   0   'False
  511.          FontItalic      =   0   'False
  512.          FontName        =   "MS Sans Serif"
  513.          FontSize        =   8.25
  514.          FontStrikethru  =   0   'False
  515.          FontUnderline   =   0   'False
  516.          Height          =   255
  517.          Left            =   120
  518.          TabIndex        =   26
  519.          Top             =   870
  520.          Width           =   495
  521.       End
  522.    End
  523.    Begin Frame Frame2 
  524.       BackColor       =   &H00C0C0C0&
  525.       Caption         =   "Bevel Outer"
  526.       Height          =   855
  527.       Left            =   6060
  528.       TabIndex        =   6
  529.       Top             =   960
  530.       Width           =   2355
  531.       Begin OptionButton OptionBevelOuter 
  532.          BackColor       =   &H00C0C0C0&
  533.          Caption         =   "Lowered"
  534.          FontBold        =   0   'False
  535.          FontItalic      =   0   'False
  536.          FontName        =   "MS Sans Serif"
  537.          FontSize        =   8.25
  538.          FontStrikethru  =   0   'False
  539.          FontUnderline   =   0   'False
  540.          Height          =   255
  541.          Index           =   3
  542.          Left            =   1050
  543.          TabIndex        =   30
  544.          Top             =   540
  545.          Width           =   885
  546.       End
  547.       Begin OptionButton OptionBevelOuter 
  548.          BackColor       =   &H00C0C0C0&
  549.          Caption         =   "Inset"
  550.          FontBold        =   0   'False
  551.          FontItalic      =   0   'False
  552.          FontName        =   "MS Sans Serif"
  553.          FontSize        =   8.25
  554.          FontStrikethru  =   0   'False
  555.          FontUnderline   =   0   'False
  556.          Height          =   255
  557.          Index           =   2
  558.          Left            =   120
  559.          TabIndex        =   29
  560.          Top             =   540
  561.          Width           =   885
  562.       End
  563.       Begin OptionButton OptionBevelOuter 
  564.          BackColor       =   &H00C0C0C0&
  565.          Caption         =   "Raised"
  566.          FontBold        =   0   'False
  567.          FontItalic      =   0   'False
  568.          FontName        =   "MS Sans Serif"
  569.          FontSize        =   8.25
  570.          FontStrikethru  =   0   'False
  571.          FontUnderline   =   0   'False
  572.          Height          =   255
  573.          Index           =   1
  574.          Left            =   1050
  575.          TabIndex        =   28
  576.          Top             =   270
  577.          Width           =   885
  578.       End
  579.       Begin OptionButton OptionBevelOuter 
  580.          BackColor       =   &H00C0C0C0&
  581.          Caption         =   "None"
  582.          FontBold        =   0   'False
  583.          FontItalic      =   0   'False
  584.          FontName        =   "MS Sans Serif"
  585.          FontSize        =   8.25
  586.          FontStrikethru  =   0   'False
  587.          FontUnderline   =   0   'False
  588.          Height          =   255
  589.          Index           =   0
  590.          Left            =   120
  591.          TabIndex        =   27
  592.          Top             =   270
  593.          Value           =   -1  'True
  594.          Width           =   885
  595.       End
  596.    End
  597.    Begin Frame Frame1 
  598.       BackColor       =   &H00C0C0C0&
  599.       Caption         =   "Thumb Style"
  600.       Height          =   1515
  601.       Left            =   60
  602.       TabIndex        =   5
  603.       Top             =   90
  604.       Width           =   2355
  605.       Begin OptionButton OptionThumbStyle 
  606.          BackColor       =   &H00C0C0C0&
  607.          Caption         =   "Lined"
  608.          FontBold        =   0   'False
  609.          FontItalic      =   0   'False
  610.          FontName        =   "MS Sans Serif"
  611.          FontSize        =   8.25
  612.          FontStrikethru  =   0   'False
  613.          FontUnderline   =   0   'False
  614.          Height          =   255
  615.          Index           =   3
  616.          Left            =   90
  617.          TabIndex        =   4
  618.          Top             =   510
  619.          Width           =   885
  620.       End
  621.       Begin OptionButton OptionThumbStyle 
  622.          BackColor       =   &H00C0C0C0&
  623.          Caption         =   "Pointed Right"
  624.          FontBold        =   0   'False
  625.          FontItalic      =   0   'False
  626.          FontName        =   "MS Sans Serif"
  627.          FontSize        =   8.25
  628.          FontStrikethru  =   0   'False
  629.          FontUnderline   =   0   'False
  630.          Height          =   255
  631.          Index           =   2
  632.          Left            =   1020
  633.          TabIndex        =   42
  634.          Top             =   510
  635.          Width           =   1275
  636.       End
  637.       Begin OptionButton OptionThumbStyle 
  638.          BackColor       =   &H00C0C0C0&
  639.          Caption         =   "Pointed Left"
  640.          FontBold        =   0   'False
  641.          FontItalic      =   0   'False
  642.          FontName        =   "MS Sans Serif"
  643.          FontSize        =   8.25
  644.          FontStrikethru  =   0   'False
  645.          FontUnderline   =   0   'False
  646.          Height          =   255
  647.          Index           =   1
  648.          Left            =   1020
  649.          TabIndex        =   41
  650.          Top             =   270
  651.          Width           =   1185
  652.       End
  653.       Begin OptionButton OptionThumbStyle 
  654.          BackColor       =   &H00C0C0C0&
  655.          Caption         =   "Normal"
  656.          FontBold        =   0   'False
  657.          FontItalic      =   0   'False
  658.          FontName        =   "MS Sans Serif"
  659.          FontSize        =   8.25
  660.          FontStrikethru  =   0   'False
  661.          FontUnderline   =   0   'False
  662.          Height          =   255
  663.          Index           =   0
  664.          Left            =   90
  665.          TabIndex        =   40
  666.          Top             =   270
  667.          Value           =   -1  'True
  668.          Width           =   885
  669.       End
  670.       Begin HScrollBar HScrollThumbWidth 
  671.          Height          =   255
  672.          LargeChange     =   5
  673.          Left            =   660
  674.          Max             =   2500
  675.          TabIndex        =   14
  676.          Top             =   1140
  677.          Value           =   360
  678.          Width           =   1575
  679.       End
  680.       Begin HScrollBar HScrollThumbHeight 
  681.          Height          =   255
  682.          LargeChange     =   5
  683.          Left            =   660
  684.          Max             =   2000
  685.          TabIndex        =   13
  686.          Top             =   840
  687.          Value           =   120
  688.          Width           =   1575
  689.       End
  690.       Begin Label Label1 
  691.          BackColor       =   &H00C0C0C0&
  692.          Caption         =   "Width"
  693.          FontBold        =   0   'False
  694.          FontItalic      =   0   'False
  695.          FontName        =   "MS Sans Serif"
  696.          FontSize        =   8.25
  697.          FontStrikethru  =   0   'False
  698.          FontUnderline   =   0   'False
  699.          Height          =   255
  700.          Left            =   120
  701.          TabIndex        =   16
  702.          Top             =   1140
  703.          Width           =   495
  704.       End
  705.       Begin Label Label2 
  706.          BackColor       =   &H00C0C0C0&
  707.          Caption         =   "Height"
  708.          FontBold        =   0   'False
  709.          FontItalic      =   0   'False
  710.          FontName        =   "MS Sans Serif"
  711.          FontSize        =   8.25
  712.          FontStrikethru  =   0   'False
  713.          FontUnderline   =   0   'False
  714.          Height          =   255
  715.          Left            =   120
  716.          TabIndex        =   15
  717.          Top             =   840
  718.          Width           =   495
  719.       End
  720.    End
  721. End
  722.  Const DLG_COLOR = 3
  723.  
  724. '
  725. 'Color Dialog Flags
  726. '
  727.  Const CC_RGBINIT = &H1&
  728.  Const CC_FULLOPEN = &H2&
  729.  Const CC_PREVENTFULLOPEN = &H4&
  730.  Const CC_SHOWHELP = &H8&
  731.  
  732.  
  733. Sub CmdBackColor_Click ()
  734.     '
  735.     ' Load the control with the VSlider BackColor
  736.     '
  737.     CMDialog1.Color = Vslider1.BackColor
  738.     '
  739.     ' Execute the color select dialog
  740.     '
  741.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  742.     CMDialog1.Action = DLG_COLOR
  743.     '
  744.     ' Assign the selected color to VSlider Backcolor properties
  745.     '
  746.     Vslider1.BackColor = CMDialog1.Color
  747. End Sub
  748.  
  749. Sub CmdForeColor_Click ()
  750.     '
  751.     ' Load the control with the VSlider ForeColor
  752.     '
  753.     CMDialog1.Color = Vslider1.ForeColor
  754.     '
  755.     ' Execute the color select dialog
  756.     '
  757.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  758.     CMDialog1.Action = DLG_COLOR
  759.     '
  760.     ' Assign the selected color to VSlider Forecolor properties
  761.     '
  762.     Vslider1.ForeColor = CMDialog1.Color
  763.  
  764. End Sub
  765.  
  766. Sub CmdTickColor_Click ()
  767.     '
  768.     ' Load the control with the VSlider TickColor
  769.     '
  770.     CMDialog1.Color = Vslider1.TickColor
  771.     '
  772.     ' Execute the color select dialog
  773.     '
  774.     CMDialog1.Flags = CC_RGBINIT Or CC_FULLOPEN
  775.     CMDialog1.Action = DLG_COLOR
  776.     '
  777.     ' Assign the selected color to VSlider Tickcolor properties
  778.     '
  779.     Vslider1.TickColor = CMDialog1.Color
  780. End Sub
  781.  
  782. Sub Form_Load ()
  783.     ' Center the form on the screen
  784.     Move (Screen.Width - Width) \ 2, (Screen.Height - Height) \ 2
  785. End Sub
  786.  
  787. Sub HScrollBevelWidth_Change ()
  788.     Vslider1.BevelWidth = HScrollBevelWidth.Value
  789. End Sub
  790.  
  791. Sub HScrollBevelWidth_Scroll ()
  792.     Vslider1.BevelWidth = HScrollBevelWidth.Value
  793. End Sub
  794.  
  795. Sub HScrollBorderWidth_Change ()
  796.     Vslider1.BorderWidth = HScrollBorderWidth.Value
  797. End Sub
  798.  
  799. Sub HScrollBorderWidth_Scroll ()
  800.     Vslider1.BorderWidth = HScrollBorderWidth.Value
  801. End Sub
  802.  
  803. Sub HScrollSliderWidth_Change ()
  804.     Vslider1.Width = HScrollSliderWidth.Value
  805.     If Vslider1.ThumbWidth > Vslider1.Width Then Vslider1.ThumbWidth = Vslider1.Width - 10
  806.     HScrollThumbWidth.Value = Vslider1.ThumbWidth
  807.     HScrollThumbHeight.Value = Vslider1.ThumbHeight
  808. End Sub
  809.  
  810. Sub HScrollSliderWidth_Scroll ()
  811.     Vslider1.Width = HScrollSliderWidth.Value
  812. End Sub
  813.  
  814. Sub HScrollThumbHeight_Change ()
  815.     Vslider1.ThumbHeight = HScrollThumbHeight.Value
  816. End Sub
  817.  
  818. Sub HScrollThumbHeight_Scroll ()
  819.     Vslider1.ThumbHeight = HScrollThumbHeight.Value
  820. End Sub
  821.  
  822. Sub HScrollThumbWidth_Change ()
  823.     Vslider1.ThumbWidth = HScrollThumbWidth.Value
  824. End Sub
  825.  
  826. Sub HScrollThumbWidth_Scroll ()
  827.     Vslider1.ThumbWidth = HScrollThumbWidth.Value
  828. End Sub
  829.  
  830. Sub HScrollTickCount_Change ()
  831.     Vslider1.TickCount = HScrollTickCount.Value
  832. End Sub
  833.  
  834. Sub HScrollTickCount_Scroll ()
  835.     Vslider1.TickCount = HScrollTickCount.Value
  836. End Sub
  837.  
  838. Sub HScrollTickHeight_Scroll ()
  839.     
  840. End Sub
  841.  
  842. Sub HScrollTickLength_Scroll ()
  843.     
  844. End Sub
  845.  
  846. Sub HScrollTickWidth_Change ()
  847.     Vslider1.TickWidth = HScrollTickWidth.Value
  848. End Sub
  849.  
  850. Sub HScrollTickWidth_Scroll ()
  851.     Vslider1.TickWidth = HScrollTickWidth.Value
  852. End Sub
  853.  
  854. Sub HScrollTrackWidth_Change ()
  855.     Vslider1.TrackWidth = HScrollTrackWidth.Value
  856. End Sub
  857.  
  858. Sub HScrollTrackWidth_Scroll ()
  859.     Vslider1.TrackWidth = HScrollTrackWidth.Value
  860. End Sub
  861.  
  862. Sub OptionBevelInner_Click (index As Integer)
  863.     Vslider1.BevelInner = index
  864.     If OptionBevelOuter(0) = True And index = 0 Then
  865.         FrameBevelWidth.Enabled = False
  866.         FrameBorderWidth.Enabled = False
  867.     Else
  868.         FrameBevelWidth.Enabled = True
  869.         FrameBorderWidth.Enabled = True
  870.     End If
  871. End Sub
  872.  
  873. Sub OptionBevelOuter_Click (index As Integer)
  874.     Vslider1.BevelOuter = index
  875.     If OptionBevelInner(0) = True And index = 0 Then
  876.         FrameBevelWidth.Enabled = False
  877.         FrameBorderWidth.Enabled = False
  878.     Else
  879.         FrameBevelWidth.Enabled = True
  880.         FrameBorderWidth.Enabled = True
  881.     End If
  882. End Sub
  883.  
  884. Sub OptionThumbStyle_Click (index As Integer)
  885.    Vslider1.ThumbStyle = index
  886. End Sub
  887.  
  888. Sub OptionTickMark_Click (index As Integer)
  889.     Vslider1.TickMarks = index
  890.     If index = 0 Then
  891.         HScrollTickCount.Enabled = False
  892.         HScrollTickWidth.Enabled = False
  893.         CmdTickColor.Enabled = False
  894.     Else
  895.         HScrollTickCount.Enabled = True
  896.         HScrollTickWidth.Enabled = True
  897.         CmdTickColor.Enabled = True
  898.     End If
  899. End Sub
  900.  
  901. Sub OptionTrackBevel_Click (index As Integer)
  902.     Vslider1.TrackBevel = index
  903.     If index = 0 Then
  904.         HScrollTrackWidth.Enabled = False
  905.     Else
  906.         HScrollTrackWidth.Enabled = True
  907.     End If
  908. End Sub
  909.  
  910.