home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / cellcont / data1.cab / VBDEMO_Files / CellForm.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-11-20  |  45.3 KB  |  1,360 lines

  1. VERSION 5.00
  2. Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.1#0"; "COMDLG32.OCX"
  3. Object = "{DD44C0E7-B2CF-11D1-8DD2-444553540000}#1.0#0"; "CELL.OCX"
  4. Begin VB.Form frmCell 
  5.    BorderStyle     =   1  'Fixed Single
  6.    Caption         =   "Demo"
  7.    ClientHeight    =   5916
  8.    ClientLeft      =   4308
  9.    ClientTop       =   1992
  10.    ClientWidth     =   7572
  11.    BeginProperty Font 
  12.       Name            =   "
  13.       Size            =   12
  14.       Charset         =   134
  15.       Weight          =   400
  16.       Underline       =   0   'False
  17.       Italic          =   0   'False
  18.       Strikethrough   =   0   'False
  19.    EndProperty
  20.    LinkTopic       =   "Form1"
  21.    MaxButton       =   0   'False
  22.    MinButton       =   0   'False
  23.    ScaleHeight     =   5916
  24.    ScaleWidth      =   7572
  25.    StartUpPosition =   2  'CenterScreen
  26.    Visible         =   0   'False
  27.    Begin CELLLib.Cell DemoCell 
  28.       Height          =   3372
  29.       Left            =   120
  30.       TabIndex        =   74
  31.       Top             =   120
  32.       Width           =   7332
  33.       _Version        =   65536
  34.       _ExtentX        =   12933
  35.       _ExtentY        =   5948
  36.       _StockProps     =   0
  37.    End
  38.    Begin VB.PictureBox picPicture 
  39.       BorderStyle     =   0  'None
  40.       Height          =   1575
  41.       Index           =   16
  42.       Left            =   120
  43.       ScaleHeight     =   1572
  44.       ScaleWidth      =   7092
  45.       TabIndex        =   38
  46.       Top             =   3600
  47.       Width           =   7095
  48.       Begin VB.CommandButton Command8 
  49.          Caption         =   "Open"
  50.          BeginProperty Font 
  51.             Name            =   "Times New Roman"
  52.             Size            =   9
  53.             Charset         =   0
  54.             Weight          =   400
  55.             Underline       =   0   'False
  56.             Italic          =   0   'False
  57.             Strikethrough   =   0   'False
  58.          EndProperty
  59.          Height          =   375
  60.          Left            =   5520
  61.          TabIndex        =   67
  62.          Top             =   120
  63.          Width           =   1095
  64.       End
  65.       Begin VB.CommandButton Command7 
  66.          Caption         =   "
  67.          BeginProperty Font 
  68.             Name            =   "Times New Roman"
  69.             Size            =   9
  70.             Charset         =   0
  71.             Weight          =   400
  72.             Underline       =   0   'False
  73.             Italic          =   0   'False
  74.             Strikethrough   =   0   'False
  75.          EndProperty
  76.          Height          =   375
  77.          Left            =   4920
  78.          TabIndex        =   66
  79.          Top             =   120
  80.          Width           =   375
  81.       End
  82.       Begin VB.TextBox Text5 
  83.          BeginProperty Font 
  84.             Name            =   "Times New Roman"
  85.             Size            =   9
  86.             Charset         =   0
  87.             Weight          =   400
  88.             Underline       =   0   'False
  89.             Italic          =   0   'False
  90.             Strikethrough   =   0   'False
  91.          EndProperty
  92.          Height          =   360
  93.          Left            =   1320
  94.          TabIndex        =   65
  95.          Top             =   120
  96.          Width           =   3495
  97.       End
  98.       Begin VB.Label Label17 
  99.          Caption         =   "database file"
  100.          BeginProperty Font 
  101.             Name            =   "Times New Roman"
  102.             Size            =   9
  103.             Charset         =   0
  104.             Weight          =   400
  105.             Underline       =   0   'False
  106.             Italic          =   0   'False
  107.             Strikethrough   =   0   'False
  108.          EndProperty
  109.          Height          =   255
  110.          Left            =   0
  111.          TabIndex        =   64
  112.          Top             =   120
  113.          Width           =   1335
  114.       End
  115.       Begin VB.Label Label16 
  116.          Caption         =   "CELL can open any ODBC source and any ISAM database."
  117.          BeginProperty Font 
  118.             Name            =   "Times New Roman"
  119.             Size            =   9
  120.             Charset         =   0
  121.             Weight          =   400
  122.             Underline       =   0   'False
  123.             Italic          =   0   'False
  124.             Strikethrough   =   0   'False
  125.          EndProperty
  126.          Height          =   780
  127.          Left            =   0
  128.          TabIndex        =   63
  129.          Top             =   960
  130.          Width           =   6780
  131.          WordWrap        =   -1  'True
  132.       End
  133.    End
  134.    Begin VB.PictureBox picPicture 
  135.       BorderStyle     =   0  'None
  136.       Height          =   1575
  137.       Index           =   17
  138.       Left            =   120
  139.       ScaleHeight     =   1572
  140.       ScaleWidth      =   7092
  141.       TabIndex        =   39
  142.       Top             =   3600
  143.       Width           =   7095
  144.       Begin VB.CommandButton Command11 
  145.          Caption         =   "Save"
  146.          BeginProperty Font 
  147.             Name            =   "Times New Roman"
  148.             Size            =   9
  149.             Charset         =   0
  150.             Weight          =   400
  151.             Underline       =   0   'False
  152.             Italic          =   0   'False
  153.             Strikethrough   =   0   'False
  154.          EndProperty
  155.          Height          =   375
  156.          Left            =   6120
  157.          TabIndex        =   73
  158.          Top             =   0
  159.          Width           =   975
  160.       End
  161.       Begin VB.CommandButton Command10 
  162.          Caption         =   "Open"
  163.          BeginProperty Font 
  164.             Name            =   "Times New Roman"
  165.             Size            =   9
  166.             Charset         =   0
  167.             Weight          =   400
  168.             Underline       =   0   'False
  169.             Italic          =   0   'False
  170.             Strikethrough   =   0   'False
  171.          EndProperty
  172.          Height          =   375
  173.          Left            =   5040
  174.          TabIndex        =   72
  175.          Top             =   0
  176.          Width           =   975
  177.       End
  178.       Begin VB.CommandButton Command9 
  179.          Caption         =   "
  180.          BeginProperty Font 
  181.             Name            =   "Times New Roman"
  182.             Size            =   9
  183.             Charset         =   0
  184.             Weight          =   400
  185.             Underline       =   0   'False
  186.             Italic          =   0   'False
  187.             Strikethrough   =   0   'False
  188.          EndProperty
  189.          Height          =   375
  190.          Left            =   4560
  191.          TabIndex        =   71
  192.          Top             =   0
  193.          Width           =   375
  194.       End
  195.       Begin VB.TextBox Text6 
  196.          BeginProperty Font 
  197.             Name            =   "Times New Roman"
  198.             Size            =   9
  199.             Charset         =   0
  200.             Weight          =   400
  201.             Underline       =   0   'False
  202.             Italic          =   0   'False
  203.             Strikethrough   =   0   'False
  204.          EndProperty
  205.          Height          =   360
  206.          Left            =   960
  207.          TabIndex        =   70
  208.          Top             =   0
  209.          Width           =   3375
  210.       End
  211.       Begin VB.Label Label19 
  212.          Caption         =   "File name"
  213.          BeginProperty Font 
  214.             Name            =   "Times New Roman"
  215.             Size            =   9
  216.             Charset         =   0
  217.             Weight          =   400
  218.             Underline       =   0   'False
  219.             Italic          =   0   'False
  220.             Strikethrough   =   0   'False
  221.          EndProperty
  222.          Height          =   375
  223.          Left            =   0
  224.          TabIndex        =   69
  225.          Top             =   0
  226.          Width           =   735
  227.       End
  228.       Begin VB.Label Label18 
  229.          Caption         =   "CELL control  can open the file which created by CELL Application."
  230.          BeginProperty Font 
  231.             Name            =   "Times New Roman"
  232.             Size            =   9
  233.             Charset         =   0
  234.             Weight          =   400
  235.             Underline       =   0   'False
  236.             Italic          =   0   'False
  237.             Strikethrough   =   0   'False
  238.          EndProperty
  239.          Height          =   780
  240.          Left            =   0
  241.          TabIndex        =   68
  242.          Top             =   840
  243.          Width           =   6780
  244.          WordWrap        =   -1  'True
  245.       End
  246.    End
  247.    Begin MSComDlg.CommonDialog CommonDialog 
  248.       Left            =   120
  249.       Top             =   5280
  250.       _ExtentX        =   847
  251.       _ExtentY        =   847
  252.       _Version        =   327681
  253.    End
  254.    Begin VB.PictureBox picPicture 
  255.       BorderStyle     =   0  'None
  256.       Height          =   1575
  257.       Index           =   15
  258.       Left            =   120
  259.       ScaleHeight     =   1572
  260.       ScaleWidth      =   7092
  261.       TabIndex        =   37
  262.       Top             =   3600
  263.       Width           =   7095
  264.       Begin VB.Label Label15 
  265.          Caption         =   "Drop window looks like an extend drop list."
  266.          BeginProperty Font 
  267.             Name            =   "Times New Roman"
  268.             Size            =   9
  269.             Charset         =   0
  270.             Weight          =   400
  271.             Underline       =   0   'False
  272.             Italic          =   0   'False
  273.             Strikethrough   =   0   'False
  274.          EndProperty
  275.          Height          =   780
  276.          Left            =   0
  277.          TabIndex        =   62
  278.          Top             =   0
  279.          Width           =   6780
  280.          WordWrap        =   -1  'True
  281.       End
  282.    End
  283.    Begin VB.PictureBox picPicture 
  284.       BorderStyle     =   0  'None
  285.       Height          =   1575
  286.       Index           =   14
  287.       Left            =   120
  288.       ScaleHeight     =   1572
  289.       ScaleWidth      =   7092
  290.       TabIndex        =   36
  291.       Top             =   3600
  292.       Width           =   7095
  293.       Begin VB.CommandButton Command6 
  294.          Caption         =   "Set Page Label"
  295.          BeginProperty Font 
  296.             Name            =   "Times New Roman"
  297.             Size            =   9
  298.             Charset         =   0
  299.             Weight          =   400
  300.             Underline       =   0   'False
  301.             Italic          =   0   'False
  302.             Strikethrough   =   0   'False
  303.          EndProperty
  304.          Height          =   375
  305.          Left            =   5280
  306.          TabIndex        =   60
  307.          Top             =   120
  308.          Width           =   1455
  309.       End
  310.       Begin VB.TextBox Text4 
  311.          BeginProperty Font 
  312.             Name            =   "Times New Roman"
  313.             Size            =   9
  314.             Charset         =   0
  315.             Weight          =   400
  316.             Underline       =   0   'False
  317.             Italic          =   0   'False
  318.             Strikethrough   =   0   'False
  319.          EndProperty
  320.          Height          =   375
  321.          Left            =   3720
  322.          TabIndex        =   59
  323.          Top             =   120
  324.          Width           =   1335
  325.       End
  326.       Begin VB.CommandButton Command5 
  327.          Caption         =   "Set current page"
  328.          BeginProperty Font 
  329.             Name            =   "Times New Roman"
  330.             Size            =   9
  331.             Charset         =   0
  332.             Weight          =   400
  333.             Underline       =   0   'False
  334.             Italic          =   0   'False
  335.             Strikethrough   =   0   'False
  336.          EndProperty
  337.          Height          =   375
  338.          Left            =   1200
  339.          TabIndex        =   58
  340.          Top             =   120
  341.          Width           =   1335
  342.       End
  343.       Begin VB.TextBox Text3 
  344.          BeginProperty Font 
  345.             Name            =   "Times New Roman"
  346.             Size            =   9
  347.             Charset         =   0
  348.             Weight          =   400
  349.             Underline       =   0   'False
  350.             Italic          =   0   'False
  351.             Strikethrough   =   0   'False
  352.          EndProperty
  353.          Height          =   375
  354.          Left            =   0
  355.          TabIndex        =   57
  356.          Text            =   "1"
  357.          Top             =   120
  358.          Width           =   975
  359.       End
  360.       Begin VB.Label Label14 
  361.          Caption         =   "CELL support 2000 pages."
  362.          BeginProperty Font 
  363.             Name            =   "Times New Roman"
  364.             Size            =   9
  365.             Charset         =   0
  366.             Weight          =   400
  367.             Underline       =   0   'False
  368.             Italic          =   0   'False
  369.             Strikethrough   =   0   'False
  370.          EndProperty
  371.          Height          =   255
  372.          Left            =   0
  373.          TabIndex        =   61
  374.          Top             =   840
  375.          Width           =   2775
  376.       End
  377.    End
  378.    Begin VB.PictureBox picPicture 
  379.       BorderStyle     =   0  'None
  380.       Height          =   1575
  381.       Index           =   12
  382.       Left            =   120
  383.       ScaleHeight     =   1572
  384.       ScaleWidth      =   7092
  385.       TabIndex        =   34
  386.       Top             =   3600
  387.       Width           =   7095
  388.       Begin VB.Label Label12 
  389.          Caption         =   "It's easy to sort data in CELL, and supply an event for you to compare data."
  390.          BeginProperty Font 
  391.             Name            =   "Times New Roman"
  392.             Size            =   9
  393.             Charset         =   0
  394.             Weight          =   400
  395.             Underline       =   0   'False
  396.             Italic          =   0   'False
  397.             Strikethrough   =   0   'False
  398.          EndProperty
  399.          Height          =   780
  400.          Left            =   0
  401.          TabIndex        =   53
  402.          Top             =   0
  403.          Width           =   6780
  404.          WordWrap        =   -1  'True
  405.       End
  406.    End
  407.    Begin VB.PictureBox picPicture 
  408.       BorderStyle     =   0  'None
  409.       Height          =   1575
  410.       Index           =   13
  411.       Left            =   120
  412.       ScaleHeight     =   1572
  413.       ScaleWidth      =   7092
  414.       TabIndex        =   35
  415.       Top             =   3600
  416.       Width           =   7095
  417.       Begin VB.CommandButton Command4 
  418.          Caption         =   "Print preview"
  419.          BeginProperty Font 
  420.             Name            =   "Times New Roman"
  421.             Size            =   9
  422.             Charset         =   0
  423.             Weight          =   400
  424.             Underline       =   0   'False
  425.             Italic          =   0   'False
  426.             Strikethrough   =   0   'False
  427.          EndProperty
  428.          Height          =   375
  429.          Left            =   1560
  430.          TabIndex        =   56
  431.          Top             =   120
  432.          Width           =   1575
  433.       End
  434.       Begin VB.CommandButton Command3 
  435.          Caption         =   "Print"
  436.          BeginProperty Font 
  437.             Name            =   "Times New Roman"
  438.             Size            =   9
  439.             Charset         =   0
  440.             Weight          =   400
  441.             Underline       =   0   'False
  442.             Italic          =   0   'False
  443.             Strikethrough   =   0   'False
  444.          EndProperty
  445.          Height          =   375
  446.          Left            =   0
  447.          TabIndex        =   55
  448.          Top             =   120
  449.          Width           =   1335
  450.       End
  451.       Begin VB.Label Label13 
  452.          Caption         =   "CELL support professional print&preview interface for you."
  453.          BeginProperty Font 
  454.             Name            =   "Times New Roman"
  455.             Size            =   9
  456.             Charset         =   0
  457.             Weight          =   400
  458.             Underline       =   0   'False
  459.             Italic          =   0   'False
  460.             Strikethrough   =   0   'False
  461.          EndProperty
  462.          Height          =   780
  463.          Left            =   0
  464.          TabIndex        =   54
  465.          Top             =   840
  466.          Width           =   6780
  467.          WordWrap        =   -1  'True
  468.       End
  469.    End
  470.    Begin VB.PictureBox picPicture 
  471.       BorderStyle     =   0  'None
  472.       Height          =   1575
  473.       Index           =   11
  474.       Left            =   120
  475.       ScaleHeight     =   1572
  476.       ScaleWidth      =   7092
  477.       TabIndex        =   33
  478.       Top             =   3600
  479.       Width           =   7095
  480.       Begin VB.Label Label11 
  481.          Caption         =   "CELL support draq and drop"
  482.          BeginProperty Font 
  483.             Name            =   "Times New Roman"
  484.             Size            =   9
  485.             Charset         =   0
  486.             Weight          =   400
  487.             Underline       =   0   'False
  488.             Italic          =   0   'False
  489.             Strikethrough   =   0   'False
  490.          EndProperty
  491.          Height          =   780
  492.          Left            =   0
  493.          TabIndex        =   52
  494.          Top             =   0
  495.          Width           =   6780
  496.          WordWrap        =   -1  'True
  497.       End
  498.    End
  499.    Begin VB.PictureBox picPicture 
  500.       BorderStyle     =   0  'None
  501.       Height          =   1575
  502.       Index           =   10
  503.       Left            =   120
  504.       ScaleHeight     =   1572
  505.       ScaleWidth      =   7092
  506.       TabIndex        =   21
  507.       Top             =   3600
  508.       Width           =   7095
  509.       Begin VB.CommandButton cmdPasteSize 
  510.          Caption         =   "Paste with same size"
  511.          BeginProperty Font 
  512.             Name            =   "Times New Roman"
  513.             Size            =   9
  514.             Charset         =   0
  515.             Weight          =   400
  516.             Underline       =   0   'False
  517.             Italic          =   0   'False
  518.             Strikethrough   =   0   'False
  519.          EndProperty
  520.          Height          =   375
  521.          Left            =   5640
  522.          TabIndex        =   25
  523.          Top             =   120
  524.          Width           =   1455
  525.       End
  526.       Begin VB.CommandButton cmdPaste 
  527.          Caption         =   "Paste"
  528.          BeginProperty Font 
  529.             Name            =   "Times New Roman"
  530.             Size            =   9
  531.             Charset         =   0
  532.             Weight          =   400
  533.             Underline       =   0   'False
  534.             Italic          =   0   'False
  535.             Strikethrough   =   0   'False
  536.          EndProperty
  537.          Height          =   375
  538.          Left            =   3720
  539.          TabIndex        =   24
  540.          Top             =   120
  541.          Width           =   1575
  542.       End
  543.       Begin VB.CommandButton cmdCopy 
  544.          Caption         =   "Copy"
  545.          BeginProperty Font 
  546.             Name            =   "Times New Roman"
  547.             Size            =   9
  548.             Charset         =   0
  549.             Weight          =   400
  550.             Underline       =   0   'False
  551.             Italic          =   0   'False
  552.             Strikethrough   =   0   'False
  553.          EndProperty
  554.          Height          =   375
  555.          Left            =   1800
  556.          TabIndex        =   23
  557.          Top             =   120
  558.          Width           =   1575
  559.       End
  560.       Begin VB.CommandButton cmdCut 
  561.          Caption         =   "Cut"
  562.          BeginProperty Font 
  563.             Name            =   "Times New Roman"
  564.             Size            =   9
  565.             Charset         =   0
  566.             Weight          =   400
  567.             Underline       =   0   'False
  568.             Italic          =   0   'False
  569.             Strikethrough   =   0   'False
  570.          EndProperty
  571.          Height          =   375
  572.          Left            =   0
  573.          TabIndex        =   22
  574.          Top             =   120
  575.          Width           =   1455
  576.       End
  577.       Begin VB.Label Label2 
  578.          Caption         =   "CELL support clipboard, you can copy in CELL and paste it to Excel, Word, and CELL Application."
  579.          BeginProperty Font 
  580.             Name            =   "Times New Roman"
  581.             Size            =   9
  582.             Charset         =   0
  583.             Weight          =   400
  584.             Underline       =   0   'False
  585.             Italic          =   0   'False
  586.             Strikethrough   =   0   'False
  587.          EndProperty
  588.          Height          =   780
  589.          Left            =   120
  590.          TabIndex        =   26
  591.          Top             =   720
  592.          Width           =   6780
  593.          WordWrap        =   -1  'True
  594.       End
  595.    End
  596.    Begin VB.PictureBox picPicture 
  597.       BorderStyle     =   0  'None
  598.       Height          =   1575
  599.       Index           =   9
  600.       Left            =   120
  601.       ScaleHeight     =   1572
  602.       ScaleWidth      =   7092
  603.       TabIndex        =   32
  604.       Top             =   3600
  605.       Width           =   7095
  606.       Begin VB.Label Label10 
  607.          Caption         =   "You can add user function for CELL,include function guide and help!"
  608.          BeginProperty Font 
  609.             Name            =   "Times New Roman"
  610.             Size            =   9
  611.             Charset         =   0
  612.             Weight          =   400
  613.             Underline       =   0   'False
  614.             Italic          =   0   'False
  615.             Strikethrough   =   0   'False
  616.          EndProperty
  617.          Height          =   1095
  618.          Left            =   0
  619.          TabIndex        =   51
  620.          Top             =   0
  621.          Width           =   6855
  622.       End
  623.    End
  624.    Begin VB.PictureBox picPicture 
  625.       BorderStyle     =   0  'None
  626.       Height          =   1575
  627.       Index           =   8
  628.       Left            =   120
  629.       ScaleHeight     =   1572
  630.       ScaleWidth      =   7092
  631.       TabIndex        =   31
  632.       Top             =   3600
  633.       Width           =   7095
  634.       Begin VB.Label Label9 
  635.          Caption         =   "CELL can hold or not hold the data in memory."
  636.          BeginProperty Font 
  637.             Name            =   "Times New Roman"
  638.             Size            =   9
  639.             Charset         =   0
  640.             Weight          =   400
  641.             Underline       =   0   'False
  642.             Italic          =   0   'False
  643.             Strikethrough   =   0   'False
  644.          EndProperty
  645.          Height          =   1095
  646.          Left            =   0
  647.          TabIndex        =   50
  648.          Top             =   0
  649.          Width           =   6855
  650.       End
  651.    End
  652.    Begin VB.PictureBox picPicture 
  653.       BorderStyle     =   0  'None
  654.       Height          =   1575
  655.       Index           =   7
  656.       Left            =   120
  657.       ScaleHeight     =   1572
  658.       ScaleWidth      =   7092
  659.       TabIndex        =   30
  660.       Top             =   3600
  661.       Width           =   7095
  662.       Begin VB.Label Label8 
  663.          Caption         =   "CELL's chart and chart guide(double click chart will show chart guide)."
  664.          BeginProperty Font 
  665.             Name            =   "Times New Roman"
  666.             Size            =   9
  667.             Charset         =   0
  668.             Weight          =   400
  669.             Underline       =   0   'False
  670.             Italic          =   0   'False
  671.             Strikethrough   =   0   'False
  672.          EndProperty
  673.          Height          =   1095
  674.          Left            =   120
  675.          TabIndex        =   49
  676.          Top             =   120
  677.          Width           =   6855
  678.       End
  679.    End
  680.    Begin VB.PictureBox picPicture 
  681.       BorderStyle     =   0  'None
  682.       Height          =   1575
  683.       Index           =   6
  684.       Left            =   120
  685.       ScaleHeight     =   1572
  686.       ScaleWidth      =   7092
  687.       TabIndex        =   29
  688.       Top             =   3600
  689.       Width           =   7095
  690.       Begin VB.CommandButton Command2 
  691.          Caption         =   "Syntax"
  692.          BeginProperty Font 
  693.             Name            =   "Times New Roman"
  694.             Size            =   9
  695.             Charset         =   0
  696.             Weight          =   400
  697.             Underline       =   0   'False
  698.             Italic          =   0   'False
  699.             Strikethrough   =   0   'False
  700.          EndProperty
  701.          Height          =   255
  702.          Left            =   5400
  703.          TabIndex        =   48
  704.          Top             =   480
  705.          Width           =   1335
  706.       End
  707.       Begin VB.TextBox Text2 
  708.          BackColor       =   &H80000004&
  709.          Enabled         =   0   'False
  710.          BeginProperty Font 
  711.             Name            =   "Times New Roman"
  712.             Size            =   9
  713.             Charset         =   0
  714.             Weight          =   400
  715.             Underline       =   0   'False
  716.             Italic          =   0   'False
  717.             Strikethrough   =   0   'False
  718.          EndProperty
  719.          Height          =   270
  720.          Left            =   1680
  721.          TabIndex        =   47
  722.          Top             =   480
  723.          Width           =   3255
  724.       End
  725.       Begin VB.CommandButton Command1 
  726.          Caption         =   "Value"
  727.          BeginProperty Font 
  728.             Name            =   "Times New Roman"
  729.             Size            =   9
  730.             Charset         =   0
  731.             Weight          =   400
  732.             Underline       =   0   'False
  733.             Italic          =   0   'False
  734.             Strikethrough   =   0   'False
  735.          EndProperty
  736.          Height          =   255
  737.          Left            =   5400
  738.          TabIndex        =   45
  739.          Top             =   0
  740.          Width           =   1335
  741.       End
  742.       Begin VB.TextBox Text1 
  743.          BeginProperty Font 
  744.             Name            =   "Times New Roman"
  745.             Size            =   9
  746.             Charset         =   0
  747.             Weight          =   400
  748.             Underline       =   0   'False
  749.             Italic          =   0   'False
  750.             Strikethrough   =   0   'False
  751.          EndProperty
  752.          Height          =   255
  753.          Left            =   1680
  754.          TabIndex        =   44
  755.          Top             =   0
  756.          Width           =   3255
  757.       End
  758.       Begin VB.Label Label7 
  759.          Caption         =   "result"
  760.          BeginProperty Font 
  761.             Name            =   "Times New Roman"
  762.             Size            =   9
  763.             Charset         =   0
  764.             Weight          =   400
  765.             Underline       =   0   'False
  766.             Italic          =   0   'False
  767.             Strikethrough   =   0   'False
  768.          EndProperty
  769.          Height          =   375
  770.          Left            =   120
  771.          TabIndex        =   46
  772.          Top             =   480
  773.          Width           =   975
  774.       End
  775.       Begin VB.Label Label6 
  776.          Caption         =   "Input expression"
  777.          BeginProperty Font 
  778.             Name            =   "Times New Roman"
  779.             Size            =   9
  780.             Charset         =   0
  781.             Weight          =   400
  782.             Underline       =   0   'False
  783.             Italic          =   0   'False
  784.             Strikethrough   =   0   'False
  785.          EndProperty
  786.          Height          =   255
  787.          Left            =   120
  788.          TabIndex        =   43
  789.          Top             =   0
  790.          Width           =   1575
  791.       End
  792.       Begin VB.Label Label5 
  793.          Caption         =   "You can use formula in CELL, CELL's formula can refresh when source cell changed(like Excel)."
  794.          BeginProperty Font 
  795.             Name            =   "Times New Roman"
  796.             Size            =   9
  797.             Charset         =   0
  798.             Weight          =   400
  799.             Underline       =   0   'False
  800.             Italic          =   0   'False
  801.             Strikethrough   =   0   'False
  802.          EndProperty
  803.          Height          =   495
  804.          Left            =   0
  805.          TabIndex        =   42
  806.          Top             =   1080
  807.          Width           =   6975
  808.       End
  809.    End
  810.    Begin VB.PictureBox picPicture 
  811.       BorderStyle     =   0  'None
  812.       Height          =   1575
  813.       Index           =   5
  814.       Left            =   120
  815.       ScaleHeight     =   1572
  816.       ScaleWidth      =   7092
  817.       TabIndex        =   28
  818.       Top             =   3600
  819.       Width           =   7095
  820.       Begin VB.CheckBox Check1 
  821.          Caption         =   "Edit area auto_sizing"
  822.          BeginProperty Font 
  823.             Name            =   "Times New Roman"
  824.             Size            =   9
  825.             Charset         =   0
  826.             Weight          =   400
  827.             Underline       =   0   'False
  828.             Italic          =   0   'False
  829.             Strikethrough   =   0   'False
  830.          EndProperty
  831.          Height          =   255
  832.          Left            =   120
  833.          TabIndex        =   41
  834.          Top             =   120
  835.          Value           =   1  'Checked
  836.          Width           =   2175
  837.       End
  838.       Begin VB.Label Label4 
  839.          Caption         =   "CELL will record the move direction when edit(click Enter you will find it)."
  840.          BeginProperty Font 
  841.             Name            =   "Times New Roman"
  842.             Size            =   9
  843.             Charset         =   0
  844.             Weight          =   400
  845.             Underline       =   0   'False
  846.             Italic          =   0   'False
  847.             Strikethrough   =   0   'False
  848.          EndProperty
  849.          Height          =   855
  850.          Left            =   120
  851.          TabIndex        =   40
  852.          Top             =   600
  853.          Width           =   6975
  854.       End
  855.    End
  856.    Begin VB.PictureBox picPicture 
  857.       BorderStyle     =   0  'None
  858.       Height          =   1575
  859.       Index           =   3
  860.       Left            =   120
  861.       ScaleHeight     =   1572
  862.       ScaleWidth      =   7092
  863.       TabIndex        =   13
  864.       Top             =   3600
  865.       Width           =   7095
  866.       Begin VB.Label labLabel 
  867.          AutoSize        =   -1  'True
  868.          Caption         =   "rich cell style in CELL."
  869.          BeginProperty Font 
  870.             Name            =   "Times New Roman"
  871.             Size            =   9
  872.             Charset         =   0
  873.             Weight          =   400
  874.             Underline       =   0   'False
  875.             Italic          =   0   'False
  876.             Strikethrough   =   0   'False
  877.          EndProperty
  878.          Height          =   180
  879.          Left            =   0
  880.          TabIndex        =   20
  881.          Top             =   0
  882.          Width           =   2160
  883.       End
  884.    End
  885.    Begin VB.PictureBox picPicture 
  886.       BorderStyle     =   0  'None
  887.       Height          =   1575
  888.       Index           =   4
  889.       Left            =   120
  890.       ScaleHeight     =   1572
  891.       ScaleWidth      =   7092
  892.       TabIndex        =   19
  893.       Top             =   3600
  894.       Width           =   7095
  895.       Begin VB.Label Label3 
  896.          Caption         =   "CELL have all kind of cell types, include all the common controls in Windows."
  897.          BeginProperty Font 
  898.             Name            =   "Times New Roman"
  899.             Size            =   9
  900.             Charset         =   0
  901.             Weight          =   400
  902.             Underline       =   0   'False
  903.             Italic          =   0   'False
  904.             Strikethrough   =   0   'False
  905.          EndProperty
  906.          Height          =   255
  907.          Left            =   120
  908.          TabIndex        =   27
  909.          Top             =   120
  910.          Width           =   6255
  911.       End
  912.    End
  913.    Begin VB.PictureBox picPicture 
  914.       BorderStyle     =   0  'None
  915.       Height          =   1575
  916.       Index           =   2
  917.       Left            =   120
  918.       ScaleHeight     =   1572
  919.       ScaleWidth      =   7092
  920.       TabIndex        =   9
  921.       Top             =   3600
  922.       Width           =   7095
  923.       Begin VB.OptionButton optGrid 
  924.          Caption         =   "Blank"
  925.          BeginProperty Font 
  926.             Name            =   "Times New Roman"
  927.             Size            =   9
  928.             Charset         =   0
  929.             Weight          =   400
  930.             Underline       =   0   'False
  931.             Italic          =   0   'False
  932.             Strikethrough   =   0   'False
  933.          EndProperty
  934.          Height          =   375
  935.          Index           =   4
  936.          Left            =   1800
  937.          TabIndex        =   18
  938.          Top             =   960
  939.          Width           =   1335
  940.       End
  941.       Begin VB.OptionButton optGrid 
  942.          Caption         =   "raised"
  943.          BeginProperty Font 
  944.             Name            =   "Times New Roman"
  945.             Size            =   9
  946.             Charset         =   0
  947.             Weight          =   400
  948.             Underline       =   0   'False
  949.             Italic          =   0   'False
  950.             Strikethrough   =   0   'False
  951.          EndProperty
  952.          Height          =   375
  953.          Index           =   3
  954.          Left            =   240
  955.          TabIndex        =   17
  956.          Top             =   960
  957.          Width           =   1335
  958.       End
  959.       Begin VB.OptionButton optGrid 
  960.          Caption         =   "recessed"
  961.          BeginProperty Font 
  962.             Name            =   "Times New Roman"
  963.             Size            =   9
  964.             Charset         =   0
  965.             Weight          =   400
  966.             Underline       =   0   'False
  967.             Italic          =   0   'False
  968.             Strikethrough   =   0   'False
  969.          EndProperty
  970.          Height          =   255
  971.          Index           =   2
  972.          Left            =   3480
  973.          TabIndex        =   16
  974.          Top             =   360
  975.          Width           =   1455
  976.       End
  977.       Begin VB.OptionButton optGrid 
  978.          Caption         =   "solid line"
  979.          BeginProperty Font 
  980.             Name            =   "Times New Roman"
  981.             Size            =   9
  982.             Charset         =   0
  983.             Weight          =   400
  984.             Underline       =   0   'False
  985.             Italic          =   0   'False
  986.             Strikethrough   =   0   'False
  987.          EndProperty
  988.          Height          =   255
  989.          Index           =   1
  990.          Left            =   1800
  991.          TabIndex        =   15
  992.          Top             =   360
  993.          Value           =   -1  'True
  994.          Width           =   1335
  995.       End
  996.       Begin VB.OptionButton optGrid 
  997.          Caption         =   "dashed line"
  998.          BeginProperty Font 
  999.             Name            =   "Times New Roman"
  1000.             Size            =   9
  1001.             Charset         =   0
  1002.             Weight          =   400
  1003.             Underline       =   0   'False
  1004.             Italic          =   0   'False
  1005.             Strikethrough   =   0   'False
  1006.          EndProperty
  1007.          Height          =   375
  1008.          Index           =   0
  1009.          Left            =   240
  1010.          TabIndex        =   14
  1011.          Top             =   240
  1012.          Width           =   1215
  1013.       End
  1014.    End
  1015.    Begin VB.PictureBox picPicture 
  1016.       BorderStyle     =   0  'None
  1017.       Height          =   1575
  1018.       Index           =   1
  1019.       Left            =   120
  1020.       ScaleHeight     =   1572
  1021.       ScaleWidth      =   7092
  1022.       TabIndex        =   2
  1023.       Top             =   3600
  1024.       Width           =   7095
  1025.       Begin VB.CheckBox chkRetract 
  1026.          Caption         =   "Sizing multi line"
  1027.          BeginProperty Font 
  1028.             Name            =   "Times New Roman"
  1029.             Size            =   9
  1030.             Charset         =   0
  1031.             Weight          =   400
  1032.             Underline       =   0   'False
  1033.             Italic          =   0   'False
  1034.             Strikethrough   =   0   'False
  1035.          EndProperty
  1036.          Height          =   375
  1037.          Left            =   3120
  1038.          TabIndex        =   11
  1039.          Top             =   240
  1040.          Value           =   1  'Checked
  1041.          Width           =   2895
  1042.       End
  1043.       Begin VB.CheckBox chkAdjust 
  1044.          Caption         =   "Sizing cell"
  1045.          BeginProperty Font 
  1046.             Name            =   "Times New Roman"
  1047.             Size            =   9
  1048.             Charset         =   0
  1049.             Weight          =   400
  1050.             Underline       =   0   'False
  1051.             Italic          =   0   'False
  1052.             Strikethrough   =   0   'False
  1053.          EndProperty
  1054.          Height          =   255
  1055.          Left            =   0
  1056.          TabIndex        =   10
  1057.          Top             =   240
  1058.          Value           =   1  'Checked
  1059.          Width           =   2655
  1060.       End
  1061.       Begin VB.Label Label1 
  1062.          Caption         =   "You can size every thing in CELL."
  1063.          BeginProperty Font 
  1064.             Name            =   "Times New Roman"
  1065.             Size            =   9
  1066.             Charset         =   0
  1067.             Weight          =   400
  1068.             Underline       =   0   'False
  1069.             Italic          =   0   'False
  1070.             Strikethrough   =   0   'False
  1071.          EndProperty
  1072.          Height          =   735
  1073.          Left            =   0
  1074.          TabIndex        =   12
  1075.          Top             =   720
  1076.          Width           =   6975
  1077.       End
  1078.    End
  1079.    Begin VB.PictureBox picPicture 
  1080.       BorderStyle     =   0  'None
  1081.       Height          =   1575
  1082.       Index           =   0
  1083.       Left            =   120
  1084.       ScaleHeight     =   1572
  1085.       ScaleWidth      =   7212
  1086.       TabIndex        =   1
  1087.       Top             =   3600
  1088.       Width           =   7215
  1089.       Begin VB.CheckBox chkPage 
  1090.          Caption         =   "Page label"
  1091.          BeginProperty Font 
  1092.             Name            =   "Times New Roman"
  1093.             Size            =   9
  1094.             Charset         =   0
  1095.             Weight          =   400
  1096.             Underline       =   0   'False
  1097.             Italic          =   0   'False
  1098.             Strikethrough   =   0   'False
  1099.          EndProperty
  1100.          Height          =   375
  1101.          Left            =   2880
  1102.          TabIndex        =   8
  1103.          Top             =   720
  1104.          Value           =   1  'Checked
  1105.          Width           =   735
  1106.       End
  1107.       Begin VB.CheckBox chkBorder 
  1108.          Caption         =   "Border"
  1109.          BeginProperty Font 
  1110.             Name            =   "Times New Roman"
  1111.             Size            =   9
  1112.             Charset         =   0
  1113.             Weight          =   400
  1114.             Underline       =   0   'False
  1115.             Italic          =   0   'False
  1116.             Strikethrough   =   0   'False
  1117.          EndProperty
  1118.          Height          =   375
  1119.          Left            =   2880
  1120.          TabIndex        =   7
  1121.          Top             =   240
  1122.          Value           =   1  'Checked
  1123.          Width           =   855
  1124.       End
  1125.       Begin VB.CheckBox chkV 
  1126.          Caption         =   "V_Scrollbar"
  1127.          BeginProperty Font 
  1128.             Name            =   "Times New Roman"
  1129.             Size            =   9
  1130.             Charset         =   0
  1131.             Weight          =   400
  1132.             Underline       =   0   'False
  1133.             Italic          =   0   'False
  1134.             Strikethrough   =   0   'False
  1135.          EndProperty
  1136.          Height          =   375
  1137.          Left            =   1200
  1138.          TabIndex        =   6
  1139.          Top             =   720
  1140.          Value           =   1  'Checked
  1141.          Width           =   1455
  1142.       End
  1143.       Begin VB.CheckBox chkH 
  1144.          Caption         =   "H_Scrollbar"
  1145.          BeginProperty Font 
  1146.             Name            =   "Times New Roman"
  1147.             Size            =   9
  1148.             Charset         =   0
  1149.             Weight          =   400
  1150.             Underline       =   0   'False
  1151.             Italic          =   0   'False
  1152.             Strikethrough   =   0   'False
  1153.          EndProperty
  1154.          Height          =   375
  1155.          Left            =   1200
  1156.          TabIndex        =   5
  1157.          Top             =   240
  1158.          Value           =   1  'Checked
  1159.          Width           =   1455
  1160.       End
  1161.       Begin VB.CheckBox chkRow 
  1162.          Caption         =   "Col label"
  1163.          BeginProperty Font 
  1164.             Name            =   "Times New Roman"
  1165.             Size            =   9
  1166.             Charset         =   0
  1167.             Weight          =   400
  1168.             Underline       =   0   'False
  1169.             Italic          =   0   'False
  1170.             Strikethrough   =   0   'False
  1171.          EndProperty
  1172.          Height          =   375
  1173.          Left            =   120
  1174.          TabIndex        =   4
  1175.          Top             =   720
  1176.          Value           =   1  'Checked
  1177.          Width           =   855
  1178.       End
  1179.       Begin VB.CheckBox chkCol 
  1180.          Caption         =   "Row label"
  1181.          BeginProperty Font 
  1182.             Name            =   "Times New Roman"
  1183.             Size            =   9
  1184.             Charset         =   0
  1185.             Weight          =   400
  1186.             Underline       =   0   'False
  1187.             Italic          =   0   'False
  1188.             Strikethrough   =   0   'False
  1189.          EndProperty
  1190.          Height          =   375
  1191.          Left            =   120
  1192.          TabIndex        =   3
  1193.          Top             =   240
  1194.          Value           =   1  'Checked
  1195.          Width           =   1095
  1196.       End
  1197.    End
  1198.    Begin VB.CommandButton CBFinished 
  1199.       Cancel          =   -1  'True
  1200.       Caption         =   "Close"
  1201.       BeginProperty Font 
  1202.          Name            =   "Times New Roman"
  1203.          Size            =   9
  1204.          Charset         =   0
  1205.          Weight          =   400
  1206.          Underline       =   0   'False
  1207.          Italic          =   0   'False
  1208.          Strikethrough   =   0   'False
  1209.       EndProperty
  1210.       Height          =   375
  1211.       Left            =   6360
  1212.       TabIndex        =   0
  1213.       Top             =   5400
  1214.       Width           =   1095
  1215.    End
  1216. Attribute VB_Name = "frmCell"
  1217. Attribute VB_GlobalNameSpace = False
  1218. Attribute VB_Creatable = False
  1219. Attribute VB_PredeclaredId = True
  1220. Attribute VB_Exposed = False
  1221. Private Sub CBFinished_Click()
  1222.     Unload Me
  1223. End Sub
  1224. Private Sub Check1_Click()
  1225. DemoCell.DynamicEditArea = Check1.Value
  1226. End Sub
  1227. Private Sub chkAdjust_Click()
  1228. DemoCell.AllowSizeCell = chkAdjust.Value
  1229. End Sub
  1230. Private Sub chkBorder_Click()
  1231. DemoCell.Border = chkBorder.Value
  1232. End Sub
  1233. Private Sub chkCol_Click()
  1234. DemoCell.SideLabelVisible = chkCol.Value
  1235. End Sub
  1236. Private Sub chkH_Click()
  1237. DemoCell.HScrollVisible = chkH.Value
  1238. End Sub
  1239. Private Sub chkPage_Click()
  1240. DemoCell.PageLabelVisible = chkPage.Value
  1241. End Sub
  1242. Private Sub chkRetract_Click()
  1243. DemoCell.MultiColSizeMode = chkRetract.Value
  1244. End Sub
  1245. Private Sub chkRow_Click()
  1246. DemoCell.TopLabelVisible = chkRow.Value
  1247. End Sub
  1248. Private Sub chkV_Click()
  1249. DemoCell.VScrollVisible = chkV.Value
  1250. End Sub
  1251. Private Sub cmdCopy_Click()
  1252. DemoCell.DoCopySelected
  1253. End Sub
  1254. Private Sub cmdCut_Click()
  1255. DemoCell.DoCutSelected
  1256. End Sub
  1257. Private Sub cmdPaste_Click()
  1258. DemoCell.DoPaste DemoCell.DoGetCurrentCol, DemoCell.DoGetCurrentRow, False
  1259. End Sub
  1260. Private Sub cmdPasteSize_Click()
  1261. DemoCell.DoPaste DemoCell.DoGetCurrentCol, DemoCell.DoGetCurrentRow, True
  1262. End Sub
  1263. Private Sub Command1_Click()
  1264. If Len(Text1) > 0 Then
  1265. End If
  1266. End Sub
  1267. Private Sub Command10_Click()
  1268. frmCell.DemoCell.DoOpenFile Text6
  1269. End Sub
  1270. Private Sub Command11_Click()
  1271. frmCell.DemoCell.DoSaveFile Text6
  1272. End Sub
  1273. Private Sub Command2_Click()
  1274. MsgBox "There are 4 data type in CELL, double value, string, cell and area."
  1275. End Sub
  1276. Private Sub Command3_Click()
  1277. frmCell.DemoCell.DoPrint True
  1278. End Sub
  1279. Private Sub Command4_Click()
  1280. frmCell.DemoCell.DoPrintPreview False
  1281. End Sub
  1282. Private Sub Command5_Click()
  1283. With DemoCell
  1284.   ipage = Val(Text3)
  1285.   If ipage < .DoGetTotalPages Then
  1286.       .DoSetCurrentPage ipage - 1
  1287.       .DoRedrawPageLabel
  1288.   End If
  1289. End With
  1290. End Sub
  1291. Private Sub Command6_Click()
  1292. With DemoCell
  1293.   .DoSetPageLabel .DoGetCurrentPage, Text4
  1294.   .DoRedrawPageLabel
  1295. End With
  1296. End Sub
  1297. Private Sub Command7_Click()
  1298. With CommonDialog
  1299.   .Filter = "Access File(*.MDB)|*.mdb"
  1300.   .ShowOpen
  1301.   Text5 = .filename
  1302. End With
  1303. End Sub
  1304. Private Sub Command8_Click()
  1305. Dim sTableName As String
  1306. Dim iInstr
  1307. With frmCell.DemoCell
  1308.   .DoOpenFileDbase 0, Text5, sTables
  1309.   If Len(sTables) > 0 Then
  1310.     For i = 0 To 2
  1311.       iInstr = InStr(sTables, vbCrLf)
  1312.       If iInstr > 0 Then
  1313.         sTableName = Left(sTables, iInstr - 1)
  1314.         sTables = Right(sTables, Len(sTables) - iInstr - 1)
  1315.         If i > 0 Then .DoAppendPage "", 1
  1316.         .DoDumpDbaseTable sTableName, 0, -1, i, True, varcols, varrows
  1317.       End If
  1318.     Next
  1319.   End If
  1320.   .DoCloseDbase
  1321. End With
  1322. End Sub
  1323. Private Sub Command9_Click()
  1324. With CommonDialog
  1325.   .Filter = "Cell File(*.CLL)|*.cll"
  1326.   .ShowOpen
  1327.   Text6 = .filename
  1328. End With
  1329. End Sub
  1330. Private Sub DemoCell_OnExecuteUserFunc(ByVal name As String, ByVal rettype As Integer, ByVal paranum As Integer, paraType As Long, funcResult As Variant)
  1331.     ReDim paraVar(paranum - 1) As Variant
  1332.     ReDim paraVarType(paranum - 1)
  1333.     For i = 0 To paranum - 1
  1334.         If Not DemoCell.DoFetchFuncParameter(i, paraVar(i)) Then
  1335.             Exit Sub
  1336.         End If
  1337.         paraVarType(i) = VarType(paraVar(i))
  1338.     Next
  1339.     Select Case name
  1340.         Case "MyFunction1"
  1341.             funcResult = paraVar(0)
  1342.             If (rettype) Then
  1343.                 funcResult = Str(funcResult)
  1344.             End If
  1345.         Case Else
  1346.             MsgBox "No Such User Function"
  1347.     End Select
  1348. End Sub
  1349. Private Sub DemoCell_OnGetCellData(ByVal col As Long, ByVal row As Long, data As Variant, changed As Boolean)
  1350. If iSelection = 9 Then
  1351.   Dim tmp As Long
  1352.   changed = True
  1353.   tmp = col + 1 + (row + 1) * 10000
  1354.   data = tmp
  1355. End If
  1356. End Sub
  1357. Private Sub optGrid_Click(Index As Integer)
  1358. DemoCell.DoSetBackGround Index
  1359. End Sub
  1360.