home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / dialog / vbtabdlg / main.frm (.txt) next >
Encoding:
Visual Basic Form  |  1996-01-17  |  1.2 KB  |  44 lines

  1. VERSION 2.00
  2. Begin Form frmMain 
  3.    BorderStyle     =   3  'Fixed Double
  4.    Caption         =   "Main form"
  5.    ClientHeight    =   1905
  6.    ClientLeft      =   3945
  7.    ClientTop       =   5355
  8.    ClientWidth     =   3495
  9.    Height          =   2310
  10.    Left            =   3885
  11.    LinkTopic       =   "Form2"
  12.    ScaleHeight     =   1905
  13.    ScaleWidth      =   3495
  14.    Top             =   5010
  15.    Width           =   3615
  16.    Begin CommandButton butQuit 
  17.       Caption         =   "&Quit demo"
  18.       Height          =   630
  19.       Left            =   255
  20.       TabIndex        =   1
  21.       Top             =   975
  22.       Width           =   2985
  23.    End
  24.    Begin CommandButton butShow 
  25.       Caption         =   "&Show tabbed dialog"
  26.       Height          =   630
  27.       Left            =   255
  28.       TabIndex        =   0
  29.       Top             =   285
  30.       Width           =   2985
  31.    End
  32. Option Explicit
  33. Sub butQuit_Click ()
  34.     End
  35. End Sub
  36. Sub butShow_Click ()
  37.     ' show dialog modally
  38.     frmConfig.Show 1
  39. End Sub
  40. Sub Form_Load ()
  41.     ' center form
  42.     Me.Move screen.Width \ 2 - Me.Width \ 2, screen.Height \ 2 - Me.Height \ 2
  43. End Sub
  44.