home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Background
- Caption = "Background"
- ClientHeight = 4020
- ClientLeft = 1050
- ClientTop = 1890
- ClientWidth = 7365
- ControlBox = 0 'False
- Height = 4425
- Left = 990
- LinkMode = 1 'Source
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 4020
- ScaleWidth = 7365
- Top = 1545
- Width = 7485
- Begin CommandButton Command2
- Cancel = -1 'True
- Caption = "Quit"
- Height = 495
- Left = 5640
- TabIndex = 9
- Top = 2160
- Width = 1575
- End
- Begin TextBox state
- Height = 300
- Left = 2400
- TabIndex = 4
- Top = 2160
- Width = 2500
- End
- Begin TextBox city
- Height = 300
- Left = 2400
- TabIndex = 3
- Top = 1560
- Width = 2505
- End
- Begin CommandButton Command1
- Caption = "Continue"
- Height = 495
- Left = 5640
- TabIndex = 5
- Top = 960
- Width = 1575
- End
- Begin TextBox street
- Height = 300
- Left = 2400
- TabIndex = 2
- Top = 960
- Width = 2500
- End
- Begin TextBox username
- Height = 300
- Left = 2400
- TabIndex = 1
- Top = 360
- Width = 2505
- End
- Begin Label Label4
- Caption = "Your state"
- Height = 255
- Left = 600
- TabIndex = 8
- Top = 2200
- Width = 975
- End
- Begin Label Label3
- Caption = "Your city"
- Height = 250
- Left = 600
- TabIndex = 7
- Top = 1600
- Width = 855
- End
- Begin Label Label2
- Caption = "Your street address"
- Height = 250
- Left = 600
- TabIndex = 6
- Top = 1000
- Width = 1695
- End
- Begin Label Label1
- Caption = "Your name"
- Height = 250
- Left = 600
- TabIndex = 0
- Top = 400
- Width = 1095
- End
- Sub command1_click ()
- Background.Hide
- Nickname.Show
- End Sub
- Sub Command2_Click ()
- End
- End Sub
- Sub Form_Activate ()
- 'The following command plays the .wav sound.
- 'The function MUST be declared in the global module.
- 'The flags (number in parantheses) work as follows:
- '0 wait until sound finishes before returning
- '1 return immediately - sound can be stopped with
- ' i% =sndplaysound(0&, 0)
- '2 play no default if it can't find the WAV
- '4 play sound over and over, must be combined with 1 by calling the flag
- ' i% =sndplaysound(snd_async or snd_loop, 0) it can also be stopped with '(0%,0)
- '5 returns false immediately if sound is already playing.
- i% = sndplaysound("backgrnd.wav", 1)
- username.text = ""
- street.text = ""
- city.text = ""
- state.text = ""
- username.SetFocus
- End Sub
-