home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / CODE_UPLOAD61835282000.psc / frmMenu.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2000-05-28  |  6.2 KB  |  196 lines

  1. VERSION 5.00
  2. Begin VB.Form frmMenu 
  3.    BorderStyle     =   4  'Fixed ToolWindow
  4.    Caption         =   "Tea Cup"
  5.    ClientHeight    =   3315
  6.    ClientLeft      =   150
  7.    ClientTop       =   390
  8.    ClientWidth     =   5550
  9.    LinkTopic       =   "Form1"
  10.    MaxButton       =   0   'False
  11.    MinButton       =   0   'False
  12.    ScaleHeight     =   3315
  13.    ScaleWidth      =   5550
  14.    ShowInTaskbar   =   0   'False
  15.    StartUpPosition =   2  'CenterScreen
  16.    Begin VB.CheckBox chkMain 
  17.       Caption         =   "Don't show this at startup"
  18.       Height          =   525
  19.       Left            =   60
  20.       TabIndex        =   7
  21.       Top             =   2730
  22.       Width           =   2145
  23.    End
  24.    Begin VB.CommandButton cmdHelp 
  25.       Caption         =   "&Help"
  26.       Height          =   465
  27.       Left            =   2910
  28.       TabIndex        =   6
  29.       Top             =   2760
  30.       Visible         =   0   'False
  31.       Width           =   1245
  32.    End
  33.    Begin VB.CommandButton cmdMain 
  34.       Caption         =   "&Done"
  35.       Height          =   465
  36.       Left            =   4260
  37.       TabIndex        =   3
  38.       Top             =   2760
  39.       Width           =   1245
  40.    End
  41.    Begin VB.PictureBox picMain 
  42.       Height          =   2565
  43.       Left            =   60
  44.       ScaleHeight     =   2505
  45.       ScaleWidth      =   5385
  46.       TabIndex        =   0
  47.       Top             =   60
  48.       Width           =   5445
  49.       Begin VB.PictureBox picSub 
  50.          BackColor       =   &H00FF0000&
  51.          BorderStyle     =   0  'None
  52.          Height          =   2625
  53.          Left            =   0
  54.          ScaleHeight     =   2625
  55.          ScaleWidth      =   1305
  56.          TabIndex        =   1
  57.          Top             =   -30
  58.          Width           =   1305
  59.          Begin VB.PictureBox pic 
  60.             BackColor       =   &H00FF0000&
  61.             BorderStyle     =   0  'None
  62.             Height          =   525
  63.             Index           =   0
  64.             Left            =   300
  65.             Picture         =   "frmMenu.frx":0000
  66.             ScaleHeight     =   525
  67.             ScaleWidth      =   495
  68.             TabIndex        =   2
  69.             Top             =   210
  70.             Width           =   495
  71.          End
  72.       End
  73.       Begin VB.Label Label2 
  74.          Caption         =   $"frmMenu.frx":030A
  75.          Height          =   915
  76.          Left            =   1410
  77.          TabIndex        =   5
  78.          Top             =   990
  79.          Width           =   3855
  80.       End
  81.       Begin VB.Label Label1 
  82.          Caption         =   "Tea Cup"
  83.          BeginProperty Font 
  84.             Name            =   "Arial"
  85.             Size            =   12
  86.             Charset         =   0
  87.             Weight          =   700
  88.             Underline       =   0   'False
  89.             Italic          =   0   'False
  90.             Strikethrough   =   0   'False
  91.          EndProperty
  92.          Height          =   345
  93.          Left            =   1410
  94.          TabIndex        =   4
  95.          Top             =   540
  96.          Width           =   1095
  97.       End
  98.    End
  99.    Begin VB.Menu mnuFile 
  100.       Caption         =   "&File"
  101.       Visible         =   0   'False
  102.       Begin VB.Menu mnuUp 
  103.          Caption         =   "&Upright Cup"
  104.       End
  105.       Begin VB.Menu mnuClear 
  106.          Caption         =   "&Clear Teamarks"
  107.       End
  108.       Begin VB.Menu mnuFB1 
  109.          Caption         =   "-"
  110.       End
  111.       Begin VB.Menu mnuHelp 
  112.          Caption         =   "&Help"
  113.       End
  114.       Begin VB.Menu mnuAbout 
  115.          Caption         =   "&About Tea Cup .."
  116.       End
  117.       Begin VB.Menu mnuAuthor 
  118.          Caption         =   "&About Author"
  119.       End
  120.       Begin VB.Menu mnuFB2 
  121.          Caption         =   "-"
  122.       End
  123.       Begin VB.Menu mnuExit 
  124.          Caption         =   "&Exit"
  125.       End
  126.    End
  127. Attribute VB_Name = "frmMenu"
  128. Attribute VB_GlobalNameSpace = False
  129. Attribute VB_Creatable = False
  130. Attribute VB_PredeclaredId = True
  131. Attribute VB_Exposed = False
  132. '=============================================================================================================================
  133. ' Developed by Anoop. M
  134. ' anoopj12 @ yahoo.com
  135. ' Anoop M, Govindanikethan, Nedumkunnam P.O, Kottayam,
  136. ' Kerala, India - 686 542
  137. ' Hey sir, Kindly rate this code, if you like it.
  138. ' READ THIS BEFORE USING THE CODE:
  139. ' You can study and view the source code for creating your
  140. ' own apps, but do not reproduce/release Icon Hunter fully
  141. ' or partially for any commercial and/or personal purposes. All
  142. ' rights of this product is related to it's author. Any violation
  143. ' of above conditions will be treated seriously and is punishable.
  144. ' I recently inveted a technology for streaming audio, and is
  145. ' now looking promoters/investors to invest in a web-phone network
  146. ' project.
  147. ' VISIT MY WEBSITE : http://www.geocities.com/streamingaudio for details
  148. '=============================================================================================================================
  149. Private Sub chkMain_Click()
  150. SaveSetting "Time Tech", "TeaCup", "IfStart", chkMain.Value
  151. End Sub
  152. Private Sub cmdHelp_Click()
  153. frmHelp.Show vbModal
  154. End Sub
  155. Private Sub cmdMain_Click()
  156. Unload Me
  157. End Sub
  158. Private Sub Form_Load()
  159. X = GetSetting("Time Tech", "TeaCup", "IfStart", "0")
  160. chkMain.Value = X
  161. End Sub
  162. Private Sub Form_Unload(Cancel As Integer)
  163. cmdHelp.Visible = False
  164. End Sub
  165. Private Sub mnuAbout_Click()
  166. frmMenu.Show
  167. End Sub
  168. Private Sub mnuAuthor_Click()
  169. frmAbout.Show
  170. End Sub
  171. Private Sub mnuClear_Click()
  172. Dim frmL As Form
  173. For Each frmL In Forms
  174. If frmL.Name = "frmTea" Then
  175. Unload frmL
  176. End If
  177. Next frmL
  178. End Sub
  179. Private Sub mnuExit_Click()
  180. Unload frmMain
  181. End Sub
  182. Private Sub mnuHelp_Click()
  183. frmHelp.Show
  184. End Sub
  185. Private Sub mnuUp_Click()
  186. mnuClear_Click
  187. frmMain.IfDown = False
  188. frmMain.timMain.Enabled = True
  189. frmDust.Show
  190. End Sub
  191. Private Sub pic_Click(Index As Integer)
  192. Dim msg As String
  193. msg = "Tea Cup:" + vbCrLf + "A simple program for nothing..." + vbCrLf + vbCrLf + "Created by Anoop M, Software Engineer, Time Technologies" + vbCrLf + "Contact anoopj12@angelfire.com"
  194. MsgBox msg, vbOKOnly + vbInformation, "Author"
  195. End Sub
  196.