home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form CaptnFrm
- BackColor = &H00C0C0C0&
- BorderStyle = 1 'Fixed Single
- Caption = "Form Wizard - Form Caption & Name"
- ClientHeight = 2475
- ClientLeft = 4455
- ClientTop = 1425
- ClientWidth = 5040
- ControlBox = 0 'False
- Height = 2880
- HelpContextID = 4
- Icon = CAPTNFRM.FRX:0000
- Left = 4395
- LinkTopic = "Form2"
- MaxButton = 0 'False
- ScaleHeight = 2475
- ScaleWidth = 5040
- Top = 1080
- Width = 5160
- Begin SSCommand BtnHelp
- Caption = "&Help"
- Font3D = 2 'Raised w/heavy shading
- Height = 615
- Left = 3840
- Picture = CAPTNFRM.FRX:0302
- TabIndex = 9
- Top = 1380
- Width = 915
- End
- Begin SSPanel cMsg
- Align = 2 'Align Bottom
- Alignment = 1 'Left Justify - MIDDLE
- BevelInner = 1 'Inset
- BorderWidth = 2
- Height = 375
- Left = 0
- TabIndex = 8
- Top = 2100
- Width = 5040
- End
- Begin SSCommand BtnFinish
- AutoSize = 2 'Adjust Button Size To Picture
- Caption = "&Finish"
- Enabled = 0 'False
- Font3D = 2 'Raised w/heavy shading
- Height = 615
- Left = 2940
- Picture = CAPTNFRM.FRX:0604
- TabIndex = 7
- Top = 1380
- Width = 915
- End
- Begin SSCommand BtnCancel
- AutoSize = 2 'Adjust Button Size To Picture
- Caption = "&Cancel"
- Font3D = 2 'Raised w/heavy shading
- Height = 615
- Left = 2040
- Picture = CAPTNFRM.FRX:0906
- TabIndex = 6
- Tag = "Cancel building the form"
- Top = 1380
- Width = 915
- End
- Begin SSCommand BtnNext
- AutoSize = 2 'Adjust Button Size To Picture
- Caption = "&Next"
- Font3D = 2 'Raised w/heavy shading
- Height = 615
- Left = 1140
- Picture = CAPTNFRM.FRX:0C08
- TabIndex = 5
- Tag = "Proceed to the next step"
- Top = 1380
- Width = 915
- End
- Begin SSCommand BtnPrev
- AutoSize = 2 'Adjust Button Size To Picture
- Caption = "&Previous"
- Enabled = 0 'False
- Font3D = 2 'Raised w/heavy shading
- Height = 615
- Left = 240
- Picture = CAPTNFRM.FRX:0F0A
- TabIndex = 4
- Top = 1380
- Width = 915
- End
- Begin TextBox TxtName
- BackColor = &H00C0C0C0&
- Height = 375
- Left = 1125
- TabIndex = 2
- Tag = "Name for the form you are building"
- Text = "Name"
- Top = 780
- Width = 3675
- End
- Begin TextBox TxtCaption
- BackColor = &H00C0C0C0&
- Height = 375
- Left = 1140
- TabIndex = 0
- Tag = "Caption for the form you are building"
- Text = "Caption"
- Top = 300
- Width = 3675
- End
- Begin Label Label1
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- Caption = "Name"
- ForeColor = &H00FF0000&
- Height = 195
- Index = 1
- Left = 465
- TabIndex = 3
- Top = 840
- Width = 495
- End
- Begin Label Label1
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- Caption = "Caption"
- ForeColor = &H00FF0000&
- Height = 195
- Index = 0
- Left = 315
- TabIndex = 1
- Top = 360
- Width = 660
- End
- Option Explicit
- Sub BtnCancel_Click ()
- EndItNow
- End Sub
- Sub BtnCancel_GotFocus ()
- Cmsg.Caption = BtnCancel.Tag
- End Sub
- Sub BtnCancel_LostFocus ()
- Cmsg.Caption = ""
- End Sub
- Sub BtnHelp_Click ()
- SendKeys "{F1}"
- End Sub
- Sub BtnNext_Click ()
- DataSpec.Show MODELESS
- CaptnFrm.Hide
- End Sub
- Sub BtnNext_GotFocus ()
- Cmsg.Caption = BtnNext.Tag
- End Sub
- Sub BtnNext_LostFocus ()
- Cmsg.Caption = ""
- End Sub
- Sub FldGotFocus (PControl As Control)
- PControl.BackColor = BLUE
- PControl.ForeColor = WHITE
- PControl.SelStart = 0
- PControl.SelLength = 1000
- Cmsg.Caption = PControl.Tag
- End Sub
- Sub FldLostFocus (PControl As Control)
- PControl.BackColor = RB_GRAY
- PControl.ForeColor = BLACK
- Cmsg.Caption = ""
- End Sub
- Sub Form_Paint ()
- Form3d Me
- End Sub
- Sub TxtCaption_GotFocus ()
- FldGotFocus TxtCaption
- End Sub
- Sub TxtCaption_LostFocus ()
- FldLostFocus TxtCaption
- End Sub
- Sub TxtName_GotFocus ()
- FldGotFocus TxtName
- End Sub
- Sub TxtName_LostFocus ()
- FldLostFocus TxtName
- End Sub
-