home *** CD-ROM | disk | FTP | other *** search
/ Dan Appleman's Visual Bas…s Guide to the Win32 API / Dan.Applmans.Visual.Basic.5.0.Programmers.Guide.To.The.Win32.API.1997.Ziff-Davis.Press.CD / VB5PG32.mdf / vbpg32 / samples5 / ch08 / anprompt.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-02-16  |  1.6 KB  |  58 lines

  1. VERSION 5.00
  2. Begin VB.Form frmPrompt 
  3.    BorderStyle     =   1  'Fixed Single
  4.    ClientHeight    =   705
  5.    ClientLeft      =   1095
  6.    ClientTop       =   5100
  7.    ClientWidth     =   5145
  8.    ControlBox      =   0   'False
  9.    LinkTopic       =   "Form1"
  10.    MaxButton       =   0   'False
  11.    MinButton       =   0   'False
  12.    PaletteMode     =   1  'UseZOrder
  13.    ScaleHeight     =   705
  14.    ScaleWidth      =   5145
  15.    Begin VB.CommandButton cmdNo 
  16.       Caption         =   "Discard"
  17.       Height          =   435
  18.       Left            =   4140
  19.       TabIndex        =   1
  20.       Top             =   120
  21.       Width           =   855
  22.    End
  23.    Begin VB.CommandButton cmdYes 
  24.       Caption         =   "Include"
  25.       Height          =   435
  26.       Left            =   3060
  27.       TabIndex        =   0
  28.       Top             =   120
  29.       Width           =   915
  30.    End
  31.    Begin VB.Label lblFunc 
  32.       Caption         =   "Label1"
  33.       Height          =   255
  34.       Left            =   120
  35.       TabIndex        =   2
  36.       Top             =   180
  37.       Width           =   2775
  38.    End
  39. Attribute VB_Name = "frmPrompt"
  40. Attribute VB_GlobalNameSpace = False
  41. Attribute VB_Creatable = False
  42. Attribute VB_PredeclaredId = True
  43. Attribute VB_Exposed = False
  44. Option Explicit
  45. ' Copyright 
  46.  1997 by Desaware Inc. All Rights Reserved
  47. Private Sub cmdNo_Click()
  48.     frmAnalyze.IncludeRecord = False
  49.     Me.Hide
  50. End Sub
  51. Private Sub cmdYes_Click()
  52.     frmAnalyze.IncludeRecord = True
  53.     Me.Hide
  54. End Sub
  55. Private Sub Form_Load()
  56.     Me.Move frmAnalyze.Left, frmAnalyze.Top + frmAnalyze.Height, frmAnalyze.Width
  57. End Sub
  58.