home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / yocontra / form1.frm (.txt) next >
Encoding:
Visual Basic Form  |  1998-01-25  |  5.6 KB  |  178 lines

  1. VERSION 5.00
  2. Object = "{CEFAFC26-8C37-11D1-9618-D4DB04C10000}#1.0#0"; "YOCONTRAY.OCX"
  3. Begin VB.Form Form1 
  4.    Caption         =   "YoconTray 1.04 BETA VB5 Sample"
  5.    ClientHeight    =   5505
  6.    ClientLeft      =   60
  7.    ClientTop       =   345
  8.    ClientWidth     =   4875
  9.    LinkTopic       =   "Form1"
  10.    MaxButton       =   0   'False
  11.    ScaleHeight     =   5505
  12.    ScaleWidth      =   4875
  13.    StartUpPosition =   3  'Windows Default
  14.    Begin YOCONTRAYLib.YoconTray YoconTray1 
  15.       Height          =   495
  16.       Left            =   2160
  17.       TabIndex        =   5
  18.       Top             =   4080
  19.       Width           =   495
  20.       _Version        =   65536
  21.       _ExtentX        =   873
  22.       _ExtentY        =   873
  23.       _StockProps     =   0
  24.    End
  25.    Begin VB.CommandButton b3 
  26.       Caption         =   "&Exit"
  27.       Height          =   615
  28.       Left            =   2520
  29.       TabIndex        =   4
  30.       Top             =   4680
  31.       Width           =   1935
  32.    End
  33.    Begin VB.CommandButton b2 
  34.       Caption         =   "&About"
  35.       Height          =   615
  36.       Left            =   120
  37.       TabIndex        =   3
  38.       Top             =   4680
  39.       Width           =   1935
  40.    End
  41.    Begin VB.CommandButton b1 
  42.       Caption         =   "&Delete Icon"
  43.       Height          =   615
  44.       Index           =   2
  45.       Left            =   3240
  46.       TabIndex        =   2
  47.       Top             =   2640
  48.       Width           =   1455
  49.    End
  50.    Begin VB.CommandButton b1 
  51.       Caption         =   "&Modify Icon"
  52.       Height          =   615
  53.       Index           =   1
  54.       Left            =   1680
  55.       TabIndex        =   1
  56.       Top             =   2640
  57.       Width           =   1455
  58.    End
  59.    Begin VB.CommandButton b1 
  60.       Caption         =   "&Add icon"
  61.       Height          =   615
  62.       Index           =   0
  63.       Left            =   120
  64.       TabIndex        =   0
  65.       Top             =   2640
  66.       Width           =   1455
  67.    End
  68.    Begin VB.Label Label5 
  69.       Caption         =   "New feature: In this release, each icon added to the tray has its own unique event ID"
  70.       Height          =   495
  71.       Left            =   120
  72.       TabIndex        =   10
  73.       Top             =   1920
  74.       Width           =   4215
  75.    End
  76.    Begin VB.Label Label4 
  77.       Caption         =   $"Form1.frx":0000
  78.       Height          =   855
  79.       Left            =   120
  80.       TabIndex        =   9
  81.       Top             =   840
  82.       Width           =   4215
  83.    End
  84.    Begin VB.Label Label3 
  85.       Caption         =   "YoconTray 1.04"
  86.       BeginProperty Font 
  87.          Name            =   "MS Sans Serif"
  88.          Size            =   24
  89.          Charset         =   0
  90.          Weight          =   400
  91.          Underline       =   0   'False
  92.          Italic          =   0   'False
  93.          Strikethrough   =   0   'False
  94.       EndProperty
  95.       Height          =   615
  96.       Left            =   120
  97.       TabIndex        =   8
  98.       Top             =   0
  99.       Width           =   4575
  100.    End
  101.    Begin VB.Label Label1 
  102.       Caption         =   "Events are printed to Debug window"
  103.       Height          =   375
  104.       Left            =   240
  105.       TabIndex        =   7
  106.       Top             =   3480
  107.       Width           =   4095
  108.    End
  109.    Begin VB.Label Label2 
  110.       Caption         =   "This is YoconTray------------>"
  111.       Height          =   255
  112.       Left            =   120
  113.       TabIndex        =   6
  114.       Top             =   4200
  115.       Visible         =   0   'False
  116.       Width           =   1935
  117.    End
  118. Attribute VB_Name = "Form1"
  119. Attribute VB_GlobalNameSpace = False
  120. Attribute VB_Creatable = False
  121. Attribute VB_PredeclaredId = True
  122. Attribute VB_Exposed = False
  123. Private Sub b1_Click(Index As Integer)
  124. Select Case Index
  125. Case 0
  126. Form2.Show
  127. Case 1
  128. Form3.Show
  129. Case 2
  130. Form4.Show
  131. End Select
  132. End Sub
  133. Private Sub b2_Click()
  134. YoconTray1.AboutBox
  135. End Sub
  136. Private Sub b3_Click()
  137. Unload Form1
  138. End Sub
  139. Private Sub YoconTray1_LeftButtonDown(ByVal ID As Integer)
  140. Debug.Print "LeftButtonDown" & "   " & "ID=" & CStr(ID)
  141. End Sub
  142. Private Sub YoconTray1_LeftButtonUp(ByVal ID As Integer)
  143. Debug.Print "LeftButtonUp" & "   " & "ID=" & CStr(ID)
  144. End Sub
  145. Private Sub YoconTray1_LeftClick(ByVal ID As Integer)
  146. Debug.Print "LeftClick" & "   " & "ID=" & CStr(ID)
  147. End Sub
  148. Private Sub YoconTray1_LeftDoubleClick(ByVal ID As Integer)
  149. Debug.Print "LeftDoubleClick" & "   " & "ID=" & CStr(ID)
  150. End Sub
  151. Private Sub YoconTray1_MiddleButtonDown(ByVal ID As Integer)
  152. Debug.Print "MiddleButtonDown" & "   " & "ID=" & CStr(ID)
  153. End Sub
  154. Private Sub YoconTray1_MiddleButtonUp(ByVal ID As Integer)
  155. Debug.Print "MiddleButtonUp" & "   " & "ID=" & CStr(ID)
  156. End Sub
  157. Private Sub YoconTray1_MiddleClick(ByVal ID As Integer)
  158. Debug.Print "MiddleClick" & "   " & "ID=" & CStr(ID)
  159. End Sub
  160. Private Sub YoconTray1_MiddleDoubleClick(ByVal ID As Integer)
  161. Debug.Print "MiddleDoubleClick" & "   " & "ID=" & CStr(ID)
  162. End Sub
  163. Private Sub YoconTray1_MouseMoves(ByVal ID As Integer)
  164. Debug.Print "MouseMove" & "   " & "ID=" & CStr(ID)
  165. End Sub
  166. Private Sub YoconTray1_RightButtonDown(ByVal ID As Integer)
  167. Debug.Print "RightButtonDown" & "   " & "ID=" & CStr(ID)
  168. End Sub
  169. Private Sub YoconTray1_RightButtonUp(ByVal ID As Integer)
  170. Debug.Print "RightButtonUp" & "   " & "ID=" & CStr(ID)
  171. End Sub
  172. Private Sub YoconTray1_RightClick(ByVal ID As Integer)
  173. Debug.Print "RightClick" & "   " & "ID=" & CStr(ID)
  174. End Sub
  175. Private Sub YoconTray1_RightDoubleClick(ByVal ID As Integer)
  176. Debug.Print "RightDoubleClick" & "   " & "ID=" & CStr(ID)
  177. End Sub
  178.