home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 January / dppcpro0199a.iso / January / Fp98 / SDK / Utility / Apitests / Tdlshow.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-09-18  |  2.2 KB  |  74 lines

  1. VERSION 5.00
  2. Begin VB.Form frmTDLshow 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "Show or Hide To Do List"
  5.    ClientHeight    =   1635
  6.    ClientLeft      =   1695
  7.    ClientTop       =   1995
  8.    ClientWidth     =   5025
  9.    LinkTopic       =   "Form1"
  10.    MaxButton       =   0   'False
  11.    MinButton       =   0   'False
  12.    PaletteMode     =   1  'UseZOrder
  13.    ScaleHeight     =   1635
  14.    ScaleWidth      =   5025
  15.    ShowInTaskbar   =   0   'False
  16.    Begin VB.CommandButton btnHide 
  17.       Caption         =   "Hide"
  18.       Height          =   375
  19.       Left            =   2820
  20.       TabIndex        =   3
  21.       Top             =   1080
  22.       Width           =   1455
  23.    End
  24.    Begin VB.CommandButton btnShow 
  25.       Caption         =   "Show"
  26.       Height          =   375
  27.       Left            =   960
  28.       TabIndex        =   2
  29.       Top             =   1080
  30.       Width           =   1455
  31.    End
  32.    Begin VB.Line Line1 
  33.       X1              =   60
  34.       X2              =   4980
  35.       Y1              =   900
  36.       Y2              =   900
  37.    End
  38.    Begin VB.Label Label5 
  39.       Caption         =   "This form uses the following FrontPage To Do List methods:"
  40.       Height          =   255
  41.       Left            =   60
  42.       TabIndex        =   1
  43.       Top             =   120
  44.       Width           =   4935
  45.    End
  46.    Begin VB.Label Label6 
  47.       Alignment       =   2  'Center
  48.       Caption         =   "vtiShow, vtiHide"
  49.       Height          =   255
  50.       Left            =   60
  51.       TabIndex        =   0
  52.       Top             =   480
  53.       Width           =   4935
  54.       WordWrap        =   -1  'True
  55.    End
  56. Attribute VB_Name = "frmTDLshow"
  57. Attribute VB_GlobalNameSpace = False
  58. Attribute VB_Creatable = False
  59. Attribute VB_PredeclaredId = True
  60. Attribute VB_Exposed = False
  61. Option Explicit
  62. Private Sub btnHide_Click()
  63.     Dim todolist As Object
  64.     Set todolist = CreateObject("FrontPage.ToDoList")
  65.     todolist.vtiHide
  66.     Set todolist = Nothing
  67. End Sub
  68. Private Sub btnShow_Click()
  69.     Dim todolist As Object
  70.     Set todolist = CreateObject("FrontPage.ToDoList")
  71.     todolist.vtiShow
  72.     Set todolist = Nothing
  73. End Sub
  74.