home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / 3ctrls / indextab.frm < prev    next >
Text File  |  1994-07-01  |  32KB  |  859 lines

  1. VERSION 2.00
  2. Begin Form IndexTab 
  3.    BackColor       =   &H00C0C0C0&
  4.    Caption         =   "Double click a tab with the right mouse"
  5.    ClientHeight    =   6075
  6.    ClientLeft      =   495
  7.    ClientTop       =   705
  8.    ClientWidth     =   7635
  9.    Height          =   6540
  10.    Left            =   405
  11.    LinkTopic       =   "Form2"
  12.    ScaleHeight     =   6075
  13.    ScaleWidth      =   7635
  14.    Top             =   330
  15.    Width           =   7815
  16.    Begin VideoSoftElastic ToolTip 
  17.       BackColor       =   &H00C0C0C0&
  18.       BevelInner      =   0  'None
  19.       BevelOuterWidth =   1
  20.       BorderWidth     =   1
  21.       Caption         =   "ToolTip"
  22.       CaptionPos      =   4  'Center Center
  23.       FloodColor      =   &H0080FFFF&
  24.       FloodDirection  =   1  'Right
  25.       FloodPercent    =   100
  26.       FontBold        =   0   'False
  27.       FontItalic      =   0   'False
  28.       FontName        =   "MS Sans Serif"
  29.       FontSize        =   8.25
  30.       FontStrikethru  =   0   'False
  31.       FontUnderline   =   0   'False
  32.       ForeColor       =   &H00000000&
  33.       Height          =   255
  34.       IntBkg          =   &H00C0C0C0&
  35.       Left            =   5400
  36.       TabIndex        =   34
  37.       Top             =   5730
  38.       Visible         =   0   'False
  39.       Width           =   615
  40.    End
  41.    Begin VideoSoftElastic MainElastic 
  42.       Align           =   5  'Fill Container
  43.       AutoSizeChildren=   1  'Even Horizontal
  44.       BackColor       =   &H00C0C0C0&
  45.       BevelInner      =   0  'None
  46.       BevelOuter      =   1  'Raised
  47.       BevelOuterWidth =   1
  48.       BorderWidth     =   16
  49.       Height          =   5040
  50.       IntBkg          =   &H00C0C0C0&
  51.       Left            =   0
  52.       MinChildSize    =   3500
  53.       TabIndex        =   0
  54.       Top             =   0
  55.       Width           =   7635
  56.       Begin VideoSoftIndexTab VSIndexTab 
  57.          BackSheets      =   0  'None
  58.          BackTabColor    =   &H0080FF80&
  59.          BorderWidth     =   12
  60.          Caption         =   "&Order|&Notes|&Setup"
  61.          FontBold        =   -1  'True
  62.          FontItalic      =   0   'False
  63.          FontName        =   "Arial"
  64.          FontSize        =   13.5
  65.          FontStrikethru  =   0   'False
  66.          FontUnderline   =   0   'False
  67.          FrontTabColor   =   &H00C0C0C0&
  68.          Height          =   4560
  69.          Left            =   240
  70.          Position        =   0  'Top
  71.          ShowFocusRect   =   0   'False
  72.          Style           =   5  'Chamfered 3D
  73.          TabIndex        =   1
  74.          TabsPerPage     =   3
  75.          Top             =   240
  76.          Width           =   7155
  77.          Begin VideoSoftElastic Page 
  78.             BackColor       =   &H00808080&
  79.             BevelInner      =   7  'Shadow
  80.             BevelInnerWidth =   4
  81.             BorderWidth     =   4
  82.             CaptionPos      =   2  'Left Bottom
  83.             ChildSpacing    =   0
  84.             FontBold        =   -1  'True
  85.             FontItalic      =   0   'False
  86.             FontName        =   "System"
  87.             FontSize        =   9.75
  88.             FontStrikethru  =   0   'False
  89.             FontUnderline   =   0   'False
  90.             Height          =   3705
  91.             Index           =   2
  92.             IntBkg          =   &H00808080&
  93.             Left            =   10125
  94.             ShadowColor     =   &H00000000&
  95.             TabIndex        =   9
  96.             Tag             =   "Setup is the one"
  97.             TagPosition     =   1  'Above Control
  98.             TagWidth        =   250
  99.             Top             =   630
  100.             Width           =   6705
  101.             Begin CommandButton btn_Shadow 
  102.                Caption         =   "FrontTabColor"
  103.                FontBold        =   -1  'True
  104.                FontItalic      =   0   'False
  105.                FontName        =   "System"
  106.                FontSize        =   9.75
  107.                FontStrikethru  =   0   'False
  108.                FontUnderline   =   0   'False
  109.                Height          =   555
  110.                Index           =   1
  111.                Left            =   3090
  112.                TabIndex        =   31
  113.                Top             =   1380
  114.                Width           =   1665
  115.             End
  116.             Begin CommandButton btn_Shadow 
  117.                Caption         =   "Shadow Color"
  118.                FontBold        =   -1  'True
  119.                FontItalic      =   0   'False
  120.                FontName        =   "System"
  121.                FontSize        =   9.75
  122.                FontStrikethru  =   0   'False
  123.                FontUnderline   =   0   'False
  124.                Height          =   585
  125.                Index           =   0
  126.                Left            =   3090
  127.                TabIndex        =   30
  128.                Top             =   2070
  129.                Width           =   1665
  130.             End
  131.             Begin VideoSoftElastic VSElastic2 
  132.                AutoSizeChildren=   3  'Even Vertical
  133.                BackColor       =   &H00C0C0C0&
  134.                BevelInner      =   7  'Shadow
  135.                BevelInnerWidth =   4
  136.                BorderWidth     =   12
  137.                ChildSpacing    =   12
  138.                Height          =   2505
  139.                IntBkg          =   &H00C0C0C0&
  140.                Left            =   270
  141.                ShadowColor     =   &H00404040&
  142.                TabIndex        =   24
  143.                Top             =   810
  144.                Width           =   2595
  145.                Begin CheckBox Check1 
  146.                   BackColor       =   &H0000FFFF&
  147.                   Caption         =   "Bold Current Tab"
  148.                   FontBold        =   -1  'True
  149.                   FontItalic      =   0   'False
  150.                   FontName        =   "System"
  151.                   FontSize        =   9.75
  152.                   FontStrikethru  =   0   'False
  153.                   FontUnderline   =   0   'False
  154.                   ForeColor       =   &H00000000&
  155.                   Height          =   285
  156.                   Index           =   0
  157.                   Left            =   180
  158.                   TabIndex        =   29
  159.                   Top             =   180
  160.                   Value           =   1  'Checked
  161.                   Width           =   2235
  162.                End
  163.                Begin CheckBox Check1 
  164.                   BackColor       =   &H0000FFFF&
  165.                   Caption         =   "Enable Notes Tab"
  166.                   FontBold        =   -1  'True
  167.                   FontItalic      =   0   'False
  168.                   FontName        =   "System"
  169.                   FontSize        =   9.75
  170.                   FontStrikethru  =   0   'False
  171.                   FontUnderline   =   0   'False
  172.                   Height          =   285
  173.                   Index           =   1
  174.                   Left            =   180
  175.                   TabIndex        =   28
  176.                   Top             =   645
  177.                   Value           =   1  'Checked
  178.                   Width           =   2235
  179.                End
  180.                Begin CheckBox Check1 
  181.                   BackColor       =   &H0000FFFF&
  182.                   Caption         =   "Shadows"
  183.                   FontBold        =   -1  'True
  184.                   FontItalic      =   0   'False
  185.                   FontName        =   "System"
  186.                   FontSize        =   9.75
  187.                   FontStrikethru  =   0   'False
  188.                   FontUnderline   =   0   'False
  189.                   Height          =   285
  190.                   Index           =   2
  191.                   Left            =   180
  192.                   TabIndex        =   27
  193.                   Top             =   1575
  194.                   Value           =   1  'Checked
  195.                   Width           =   2235
  196.                End
  197.                Begin CheckBox Check1 
  198.                   BackColor       =   &H0000FFFF&
  199.                   Caption         =   "Pictures"
  200.                   FontBold        =   -1  'True
  201.                   FontItalic      =   0   'False
  202.                   FontName        =   "System"
  203.                   FontSize        =   9.75
  204.                   FontStrikethru  =   0   'False
  205.                   FontUnderline   =   0   'False
  206.                   Height          =   285
  207.                   Index           =   3
  208.                   Left            =   180
  209.                   TabIndex        =   26
  210.                   Top             =   2040
  211.                   Value           =   1  'Checked
  212.                   Width           =   2235
  213.                End
  214.                Begin CheckBox Check1 
  215.                   BackColor       =   &H0000FFFF&
  216.                   Caption         =   "DogEars"
  217.                   FontBold        =   -1  'True
  218.                   FontItalic      =   0   'False
  219.                   FontName        =   "System"
  220.                   FontSize        =   9.75
  221.                   FontStrikethru  =   0   'False
  222.                   FontUnderline   =   0   'False
  223.                   Height          =   285
  224.                   Index           =   4
  225.                   Left            =   180
  226.                   TabIndex        =   25
  227.                   Top             =   1110
  228.                   Value           =   1  'Checked
  229.                   Width           =   2235
  230.                End
  231.             End
  232.             Begin ComboBox TabsPerPage 
  233.                FontBold        =   -1  'True
  234.                FontItalic      =   0   'False
  235.                FontName        =   "System"
  236.                FontSize        =   9.75
  237.                FontStrikethru  =   0   'False
  238.                FontUnderline   =   0   'False
  239.                ForeColor       =   &H00000000&
  240.                Height          =   360
  241.                Left            =   270
  242.                Style           =   2  'Dropdown List
  243.                TabIndex        =   23
  244.                Tag             =   "TabsPerPage"
  245.                Top             =   330
  246.                Width           =   1995
  247.             End
  248.          End
  249.          Begin VideoSoftElastic Page 
  250.             AutoSizeChildren=   3  'Even Vertical
  251.             BackColor       =   &H00C0C0C0&
  252.             BevelInner      =   7  'Shadow
  253.             BevelInnerWidth =   4
  254.             BevelOuter      =   6  'Groove
  255.             BorderWidth     =   12
  256.             CaptionPos      =   6  'Right Top
  257.             ChildSpacing    =   8
  258.             FontBold        =   -1  'True
  259.             FontItalic      =   0   'False
  260.             FontName        =   "System"
  261.             FontSize        =   9.75
  262.             FontStrikethru  =   0   'False
  263.             FontUnderline   =   0   'False
  264.             Height          =   3705
  265.             Index           =   1
  266.             IntBkg          =   &H00C0C0C0&
  267.             Left            =   10050
  268.             ShadowColor     =   &H00000000&
  269.             TabIndex        =   6
  270.             Tag             =   "Moving over Notes"
  271.             TagWidth        =   700
  272.             Top             =   630
  273.             Width           =   6705
  274.             Begin ListBox List1 
  275.                BackColor       =   &H00E0FFFF&
  276.                FontBold        =   -1  'True
  277.                FontItalic      =   0   'False
  278.                FontName        =   "System"
  279.                FontSize        =   9.75
  280.                FontStrikethru  =   0   'False
  281.                FontUnderline   =   0   'False
  282.                Height          =   1470
  283.                Index           =   1
  284.                Left            =   885
  285.                TabIndex        =   8
  286.                Tag             =   "Notes"
  287.                Top             =   1920
  288.                Width           =   5640
  289.             End
  290.             Begin ListBox List1 
  291.                BackColor       =   &H00E0FFFF&
  292.                FontBold        =   -1  'True
  293.                FontItalic      =   0   'False
  294.                FontName        =   "System"
  295.                FontSize        =   9.75
  296.                FontStrikethru  =   0   'False
  297.                FontUnderline   =   0   'False
  298.                Height          =   1470
  299.                Index           =   0
  300.                Left            =   885
  301.                TabIndex        =   7
  302.                Tag             =   "To Do"
  303.                Top             =   180
  304.                Width           =   5640
  305.             End
  306.          End
  307.          Begin VideoSoftElastic Page 
  308.             AutoSizeChildren=   4  'Uneven Vertical
  309.             BackColor       =   &H00C0C0C0&
  310.             BevelOuter      =   6  'Groove
  311.             CaptionPos      =   6  'Right Top
  312.             Height          =   3705
  313.             Index           =   0
  314.             IntBkg          =   &H00C0C0C0&
  315.             Left            =   225
  316.             TabIndex        =   2
  317.             Tag             =   "Moving the mouse on top of the Order tab"
  318.             Top             =   630
  319.             Width           =   6705
  320.             Begin Grid Grid1 
  321.                BackColor       =   &H00FFFFFF&
  322.                Cols            =   5
  323.                FixedCols       =   0
  324.                FontBold        =   -1  'True
  325.                FontItalic      =   0   'False
  326.                FontName        =   "System"
  327.                FontSize        =   9.75
  328.                FontStrikethru  =   0   'False
  329.                FontUnderline   =   0   'False
  330.                ForeColor       =   &H00000000&
  331.                Height          =   1785
  332.                Left            =   90
  333.                Rows            =   20
  334.                ScrollBars      =   0  'None
  335.                TabIndex        =   20
  336.                Top             =   1830
  337.                Width           =   6525
  338.             End
  339.             Begin VideoSoftElastic VSElastic6 
  340.                AutoSizeChildren=   2  'Uneven Horizontal
  341.                BackColor       =   &H00C0C0C0&
  342.                BevelInner      =   7  'Shadow
  343.                BevelInnerWidth =   4
  344.                BevelOuter      =   0  'None
  345.                BorderWidth     =   12
  346.                ChildSpacing    =   12
  347.                Height          =   1650
  348.                IntBkg          =   &H00C0C0C0&
  349.                Left            =   90
  350.                TabIndex        =   10
  351.                Top             =   90
  352.                Width           =   6525
  353.                Begin VideoSoftElastic VSElastic3 
  354.                   AccessKey       =   -1  'True
  355.                   AutoSizeChildren=   3  'Even Vertical
  356.                   BackColor       =   &H00C0C0C0&
  357.                   ChildSpacing    =   -1
  358.                   FontBold        =   -1  'True
  359.                   FontItalic      =   0   'False
  360.                   FontName        =   "System"
  361.                   FontSize        =   9.75
  362.                   FontStrikethru  =   0   'False
  363.                   FontUnderline   =   0   'False
  364.                   ForeColor       =   &H000000FF&
  365.                   Height          =   1290
  366.                   IntBkg          =   &H00C0C0C0&
  367.                   Left            =   1890
  368.                   TabIndex        =   11
  369.                   TagWidth        =   700
  370.                   Top             =   180
  371.                   Width           =   4455
  372.                   Begin ComboBox Combo1 
  373.                      BackColor       =   &H00FFFFFF&
  374.                      ForeColor       =   &H00000000&
  375.                      Height          =   300
  376.                      Left            =   795
  377.                      Style           =   2  'Dropdown List
  378.                      TabIndex        =   16
  379.                      Tag             =   "&Bill To"
  380.                      Top             =   90
  381.                      Width           =   3570
  382.                   End
  383.                   Begin TextBox Text1 
  384.                      BackColor       =   &H00FFFFFF&
  385.                      DragIcon        =   INDEXTAB.FRX:0000
  386.                      FontBold        =   0   'False
  387.                      FontItalic      =   0   'False
  388.                      FontName        =   "MS Sans Serif"
  389.                      FontSize        =   8.25
  390.                      FontStrikethru  =   0   'False
  391.                      FontUnderline   =   0   'False
  392.                      ForeColor       =   &H00000000&
  393.                      Height          =   285
  394.                      Index           =   0
  395.                      Left            =   795
  396.                      TabIndex        =   14
  397.                      Text            =   "2625 Alcatraz Avenue, Ste 271"
  398.                      Top             =   375
  399.                      Width           =   3570
  400.                   End
  401.                   Begin TextBox Text1 
  402.                      BackColor       =   &H00FFFFFF&
  403.                      DragIcon        =   INDEXTAB.FRX:0302
  404.                      FontBold        =   0   'False
  405.                      FontItalic      =   0   'False
  406.                      FontName        =   "MS Sans Serif"
  407.                      FontSize        =   8.25
  408.                      FontStrikethru  =   0   'False
  409.                      FontUnderline   =   0   'False
  410.                      ForeColor       =   &H00000000&
  411.                      Height          =   285
  412.                      Index           =   2
  413.                      Left            =   795
  414.                      TabIndex        =   13
  415.                      Text            =   "Berkeley, CA 94705"
  416.                      Top             =   645
  417.                      Width           =   3570
  418.                   End
  419.                   Begin TextBox Text1 
  420.                      BackColor       =   &H00FFFFFF&
  421.                      DragIcon        =   INDEXTAB.FRX:0604
  422.                      FontBold        =   0   'False
  423.                      FontItalic      =   0   'False
  424.                      FontName        =   "MS Sans Serif"
  425.                      FontSize        =   8.25
  426.                      FontStrikethru  =   0   'False
  427.                      FontUnderline   =   0   'False
  428.                      ForeColor       =   &H00000000&
  429.                      Height          =   285
  430.                      Index           =   3
  431.                      Left            =   795
  432.                      TabIndex        =   12
  433.                      Top             =   915
  434.                      Width           =   3570
  435.                   End
  436.                End
  437.                Begin PictureBox Picture1 
  438.                   BackColor       =   &H00FFFF80&
  439.                   Height          =   1290
  440.                   Left            =   180
  441.                   ScaleHeight     =   1260
  442.                   ScaleWidth      =   1500
  443.                   TabIndex        =   15
  444.                   Top             =   180
  445.                   Width           =   1530
  446.                   Begin Label Label3 
  447.                      Alignment       =   2  'Center
  448.                      BackStyle       =   0  'Transparent
  449.                      Caption         =   "2/2/94"
  450.                      DragIcon        =   INDEXTAB.FRX:0906
  451.                      FontBold        =   -1  'True
  452.                      FontItalic      =   0   'False
  453.                      FontName        =   "System"
  454.                      FontSize        =   9.75
  455.                      FontStrikethru  =   0   'False
  456.                      FontUnderline   =   0   'False
  457.                      Height          =   255
  458.                      Left            =   300
  459.                      TabIndex        =   19
  460.                      Top             =   870
  461.                      Width           =   885
  462.                   End
  463.                   Begin Label Label2 
  464.                      Alignment       =   2  'Center
  465.                      BackStyle       =   0  'Transparent
  466.                      Caption         =   "Order Date"
  467.                      FontBold        =   -1  'True
  468.                      FontItalic      =   0   'False
  469.                      FontName        =   "System"
  470.                      FontSize        =   9.75
  471.                      FontStrikethru  =   0   'False
  472.                      FontUnderline   =   0   'False
  473.                      ForeColor       =   &H00FF0000&
  474.                      Height          =   225
  475.                      Left            =   210
  476.                      TabIndex        =   18
  477.                      Top             =   600
  478.                      Width           =   1155
  479.                   End
  480.                   Begin Label Label1 
  481.                      Alignment       =   2  'Center
  482.                      BackStyle       =   0  'Transparent
  483.                      Caption         =   "Order ID"
  484.                      FontBold        =   -1  'True
  485.                      FontItalic      =   0   'False
  486.                      FontName        =   "System"
  487.                      FontSize        =   9.75
  488.                      FontStrikethru  =   0   'False
  489.                      FontUnderline   =   0   'False
  490.                      ForeColor       =   &H00FF0000&
  491.                      Height          =   285
  492.                      Left            =   150
  493.                      TabIndex        =   17
  494.                      Top             =   150
  495.                      Width           =   1215
  496.                   End
  497.                End
  498.             End
  499.          End
  500.       End
  501.       Begin Image Image1 
  502.          Height          =   330
  503.          Index           =   0
  504.          Left            =   -30
  505.          Picture         =   INDEXTAB.FRX:0C08
  506.          Stretch         =   -1  'True
  507.          Top             =   1380
  508.          Visible         =   0   'False
  509.          Width           =   330
  510.       End
  511.       Begin Image Image1 
  512.          Height          =   330
  513.          Index           =   1
  514.          Left            =   -30
  515.          Picture         =   INDEXTAB.FRX:0D8A
  516.          Stretch         =   -1  'True
  517.          Top             =   1770
  518.          Visible         =   0   'False
  519.          Width           =   330
  520.       End
  521.       Begin Image Image1 
  522.          Height          =   330
  523.          Index           =   2
  524.          Left            =   0
  525.          Picture         =   INDEXTAB.FRX:0F0C
  526.          Stretch         =   -1  'True
  527.          Top             =   2130
  528.          Visible         =   0   'False
  529.          Width           =   330
  530.       End
  531.       Begin Image Image1 
  532.          Height          =   330
  533.          Index           =   3
  534.          Left            =   -60
  535.          Stretch         =   -1  'True
  536.          Top             =   2580
  537.          Visible         =   0   'False
  538.          Width           =   330
  539.       End
  540.    End
  541.    Begin VideoSoftElastic StatusBar 
  542.       Align           =   2  'Align Bottom
  543.       AutoSizeChildren=   1  'Even Horizontal
  544.       BackColor       =   &H00C0C0C0&
  545.       BevelInner      =   0  'None
  546.       BevelInnerWidth =   4
  547.       BevelOuter      =   1  'Raised
  548.       BevelOuterWidth =   1
  549.       BorderWidth     =   8
  550.       ChildSpacing    =   16
  551.       Height          =   630
  552.       Index           =   0
  553.       IntBkg          =   &H00C0C0C0&
  554.       Left            =   0
  555.       TabIndex        =   3
  556.       Top             =   5040
  557.       Width           =   7635
  558.       Begin CommandButton Btn 
  559.          BackColor       =   &H00C0C0C0&
  560.          Caption         =   "&Cool"
  561.          FontBold        =   0   'False
  562.          FontItalic      =   0   'False
  563.          FontName        =   "MS Sans Serif"
  564.          FontSize        =   8.25
  565.          FontStrikethru  =   0   'False
  566.          FontUnderline   =   0   'False
  567.          Height          =   390
  568.          Index           =   4
  569.          Left            =   6240
  570.          TabIndex        =   33
  571.          Tag             =   "Cool"
  572.          Top             =   120
  573.          Width           =   1275
  574.       End
  575.       Begin CommandButton Btn 
  576.          BackColor       =   &H00C0C0C0&
  577.          Caption         =   "&ForeColor"
  578.          FontBold        =   0   'False
  579.          FontItalic      =   0   'False
  580.          FontName        =   "MS Sans Serif"
  581.          FontSize        =   8.25
  582.          FontStrikethru  =   0   'False
  583.          FontUnderline   =   0   'False
  584.          Height          =   390
  585.          Index           =   3
  586.          Left            =   4710
  587.          TabIndex        =   22
  588.          Tag             =   "ForeColor"
  589.          Top             =   120
  590.          Width           =   1290
  591.       End
  592.       Begin CommandButton Btn 
  593.          BackColor       =   &H00C0C0C0&
  594.          Caption         =   "&BackTabColor"
  595.          FontBold        =   0   'False
  596.          FontItalic      =   0   'False
  597.          FontName        =   "MS Sans Serif"
  598.          FontSize        =   8.25
  599.          FontStrikethru  =   0   'False
  600.          FontUnderline   =   0   'False
  601.          Height          =   390
  602.          Index           =   2
  603.          Left            =   3180
  604.          TabIndex        =   21
  605.          Tag             =   "See tabs"
  606.          Top             =   120
  607.          Width           =   1290
  608.       End
  609.       Begin CommandButton Btn 
  610.          BackColor       =   &H00C0C0C0&
  611.          Caption         =   "St&yle"
  612.          FontBold        =   0   'False
  613.          FontItalic      =   0   'False
  614.          FontName        =   "MS Sans Serif"
  615.          FontSize        =   8.25
  616.          FontStrikethru  =   0   'False
  617.          FontUnderline   =   0   'False
  618.          Height          =   390
  619.          Index           =   1
  620.          Left            =   1650
  621.          TabIndex        =   5
  622.          Tag             =   "Style"
  623.          Top             =   120
  624.          Width           =   1290
  625.       End
  626.       Begin CommandButton Btn 
  627.          BackColor       =   &H00C0C0C0&
  628.          Caption         =   "&Position"
  629.          FontBold        =   0   'False
  630.          FontItalic      =   0   'False
  631.          FontName        =   "MS Sans Serif"
  632.          FontSize        =   8.25
  633.          FontStrikethru  =   0   'False
  634.          FontUnderline   =   0   'False
  635.          Height          =   390
  636.          Index           =   0
  637.          Left            =   120
  638.          TabIndex        =   4
  639.          Tag             =   "Position"
  640.          Top             =   120
  641.          Width           =   1290
  642.       End
  643.    End
  644.    Begin VideoSoftElastic StatusBar 
  645.       Align           =   2  'Align Bottom
  646.       BackColor       =   &H00C0C0C0&
  647.       BevelInner      =   0  'None
  648.       BevelOuter      =   1  'Raised
  649.       BevelOuterWidth =   1
  650.       Caption         =   "StatusBar"
  651.       CaptionPos      =   4  'Center Center
  652.       ForeColor       =   &H00800000&
  653.       Height          =   405
  654.       Index           =   1
  655.       IntBkg          =   &H00C0C0C0&
  656.       Left            =   0
  657.       TabIndex        =   32
  658.       Top             =   5670
  659.       Width           =   7635
  660.    End
  661. End
  662. Option Explicit
  663. Dim OldTip
  664.  
  665. Sub Btn_Click (Index As Integer)
  666.   Select Case Index
  667.     Case 0    'Changes Tab positions
  668.        VSIndexTab.Position = (VSIndexTab.Position + 1) Mod 5
  669.  
  670.     Case 1    'Changes tab styles
  671.        VSIndexTab.Style = (VSIndexTab.Style + 1) Mod 8
  672.        
  673.     Case 2    'Changes back tab color
  674.         ' disable pictures
  675.         Dim i%
  676.         Check1(3).Value = 0
  677.         For i = 0 To 2
  678.           VSIndexTab.TabPicture(i) = Image1(3)
  679.         Next
  680.         VSIndexTab.BackTabColor = QBColor(Rnd * 15)
  681.  
  682.     Case 3    'Changes Caption text color
  683.        VSIndexTab.ForeColor = QBColor(Rnd * 15)
  684.  
  685.     Case 4    'Cool
  686.        MsgBox "Click VideoSoft Address with the right button, drag it to Notes tab, and drop it in one of the List boxes.  WAY COOL!!"
  687.        
  688.   End Select
  689.  
  690. End Sub
  691.  
  692. Sub Btn_MouseMove (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  693.  If OldTip = Index Then Exit Sub
  694.  ToolTip.Visible = True
  695.  ToolTip.Caption = Btn(Index).Tag
  696.  ToolTip.Width = TextWidth(Btn(Index).Tag)
  697.  ToolTip.Move Btn(Index).Left + Btn(Index).Height * .75, StatusBar(0).Top + Btn(Index).Top + Btn(Index).Height * 1.1
  698.  OldTip = Index
  699. End Sub
  700.  
  701. Sub btn_Shadow_Click (Index%)
  702.   Select Case Index
  703.     Case 0
  704.       Page(2).ShadowColor = QBColor(Rnd * 15)
  705.     Case 1
  706.       VSIndexTab.FrontTabForeColor = QBColor(Rnd * 15)
  707.   End Select
  708. End Sub
  709.  
  710. Sub Button_Click (Index As Integer)
  711. End Sub
  712.  
  713. Sub Button_MouseMove (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  714.  
  715. End Sub
  716.  
  717. Sub Check1_click (Index%)
  718.   Dim i%
  719.  
  720.   Select Case Index
  721.  
  722.     Case 0  'BoldCurrentTab
  723.       VSIndexTab.BoldCurrent = Not VSIndexTab.BoldCurrent
  724.  
  725.     Case 1  'Enable/Disable Notes Tab
  726.       VSIndexTab.TabEnabled(1) = Not VSIndexTab.TabEnabled(1)
  727.       VSIndexTab.Refresh
  728.  
  729.     Case 2  'Shadows
  730.       If Check1(2).Value = 0 Then
  731.         Page(2).BevelInnerWidth = 1
  732.         Page(2).BevelInner = 3        'Inset
  733.       Else
  734.         Page(2).BevelInnerWidth = 4
  735.         Page(2).BevelInner = 7        'Shadows
  736.       End If
  737.  
  738.     Case 3  'Pictures
  739.         If Check1(3).Value = 1 Then
  740.           For i = 0 To 2
  741.             VSIndexTab.TabPicture(i) = Image1(i)
  742.           Next
  743.           VSIndexTab.BackTabColor = &HC0C0C0
  744.         Else
  745.           For i = 0 To 2
  746.             VSIndexTab.TabPicture(i) = Image1(3)
  747.           Next
  748.         End If
  749.     
  750.     Case 4  'DogEars
  751.       VSIndexTab.DogEars = Not VSIndexTab.DogEars
  752.             
  753.     End Select
  754. End Sub
  755.  
  756. Sub Form_Load ()
  757. '============================================================
  758. ' To create an IndexTab at design time
  759. '============================================================
  760. ' * Place an IndexTab on your form
  761. ' * Set the Autoswitch to False
  762. ' * Set the Caption for tabs separated by a pipe  (One|Two)
  763. ' * Place one container (Elastic or PictureBox) per tab on
  764. '   the white area of the indextab.  The containers should
  765. '   not touch each other.
  766. ' * Set the Autoswitch to False
  767. ' * Double click with the right mouse on the tab to
  768. '   populate the controls
  769. '============================================================
  770.   Me.Caption = "VideoSoft Indextab"
  771.  
  772.   'Fill lists and Combox
  773.   TabsPerPage.AddItem "1"
  774.   TabsPerPage.AddItem "2"
  775.   TabsPerPage.AddItem "3"
  776.   TabsPerPage.ListIndex = 2
  777.  
  778.   Combo1.AddItem "VideoSoft"
  779.   Combo1.ListIndex = 0
  780.  
  781.   ' show pictures
  782.   Check1_click 3
  783.  
  784.   Grid1.Row = 0
  785.   Grid1.Col = 0
  786.   Grid1.ColWidth(0) = 1000
  787.   Grid1.Text = "Prod ID"
  788.   Grid1.Col = 1
  789.   Grid1.ColWidth(1) = 2500
  790.   Grid1.Text = "Description"
  791.   Grid1.Col = 2
  792.   Grid1.Text = "Qty"
  793.   Grid1.Col = 3
  794.   Grid1.ColWidth(3) = 4500
  795.   Grid1.Text = "Price"
  796.  
  797. End Sub
  798.  
  799. Sub Form_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  800.   ToolTip.Visible = False
  801. End Sub
  802.  
  803. Sub Label3_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
  804.  If Button = 2 Then Label3.Drag 1
  805. End Sub
  806.  
  807. Sub List1_DragDrop (Index As Integer, Source As Control, X As Single, Y As Single)
  808.   List1(Index).AddItem Source
  809.   
  810. End Sub
  811.  
  812. Sub MainElastic_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  813.   ToolTip.Visible = False
  814.   OldTip = -1
  815. End Sub
  816.  
  817. Sub StatusBar_MouseMove (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  818.   ToolTip.Visible = False
  819.   OldTip = -1
  820. End Sub
  821.  
  822. Sub TabsPerPage_Click ()
  823.   
  824.   VSIndexTab.TabsPerPage = TabsPerPage.ListIndex + 1
  825.   VSIndexTab.FirstTab = 3 - VSIndexTab.TabsPerPage
  826.  
  827.   'Enable DogEars option
  828.   If VSIndexTab.TabsPerPage = 3 Then
  829.     Check1(4).Enabled = False
  830.   Else
  831.     Check1(4).Enabled = True
  832.   End If
  833. End Sub
  834.  
  835. Sub Text1_MouseDown (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  836.   If Button = 2 Then Text1(Index).Drag 1
  837. End Sub
  838.  
  839. Sub VSIndexTab_DragOver (Source As Control, X As Single, Y As Single, State As Integer)
  840.   If VSIndexTab.MouseOver <> -1 Then VSIndexTab.CurrTab = VSIndexTab.MouseOver
  841. End Sub
  842.  
  843. Sub VSIndexTab_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
  844.   ToolTip.Visible = False
  845.   
  846.   On Error Resume Next
  847.  
  848.   If VSIndexTab.MouseOver = -1 Then
  849.     ' Current page
  850.     If StatusBar(1) <> "Current Page" Then StatusBar(1) = "Current Page"
  851.   Else
  852.     ' Move Over other page
  853.     If StatusBar(1) <> Page(VSIndexTab.MouseOver).Tag Then StatusBar(1) = Page(VSIndexTab.MouseOver).Tag
  854.     
  855.   End If
  856.  
  857. End Sub
  858.  
  859.