home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{083C8784-F106-4CC2-9930-876218A6B74C}#1.1#0"; "ciaXPButton.ocx"
- Object = "{506637F7-8E95-462C-A587-891B4935F57D}#1.0#0"; "ciaXPPanel.ocx"
- Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
- Object = "{CF5AF5C7-0AF7-4B49-9CE9-2CD700C0995F}#1.0#0"; "ciaXPPopupMenu.ocx"
- Begin VB.Form Form5
- Caption = "Form5"
- ClientHeight = 3390
- ClientLeft = 60
- ClientTop = 450
- ClientWidth = 8580
- LinkTopic = "Form1"
- ScaleHeight = 3390
- ScaleWidth = 8580
- StartUpPosition = 3 'Windows Default
- Begin ciaXPPopupMenu.XPMenu XPMenu1
- Left = 150
- Top = 1860
- _ExtentX = 847
- _ExtentY = 820
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin MSComctlLib.ImageList ImageList1
- Left = 75
- Top = 1140
- _ExtentX = 1005
- _ExtentY = 1005
- BackColor = -2147483643
- ImageWidth = 16
- ImageHeight = 16
- MaskColor = 12632256
- _Version = 393216
- BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
- NumListImages = 12
- BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":0000
- Key = ""
- EndProperty
- BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":055A
- Key = ""
- EndProperty
- BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":0AB4
- Key = ""
- EndProperty
- BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":100E
- Key = ""
- EndProperty
- BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":1568
- Key = ""
- EndProperty
- BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":212A
- Key = ""
- EndProperty
- BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":2684
- Key = ""
- EndProperty
- BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":2BDE
- Key = ""
- EndProperty
- BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":3138
- Key = ""
- EndProperty
- BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":3692
- Key = ""
- EndProperty
- BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":3BEC
- Key = ""
- EndProperty
- BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "Form5.frx":4146
- Key = ""
- EndProperty
- EndProperty
- End
- Begin ciaXPPanel.XPPanel XPPanel1
- Align = 1 'Align Top
- Height = 885
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 8580
- _ExtentX = 15134
- _ExtentY = 1561
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 0
- Left = 60
- TabIndex = 1
- Top = 45
- Width = 960
- _ExtentX = 1693
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":46A0
- PictureWidth = 38
- PictureHeight = 45
- PictureSize = 2
- OriginalPicSizeW= 38
- OriginalPicSizeH= 45
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- DropDown = -1 'True
- End
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 1
- Left = 7005
- TabIndex = 2
- Top = 45
- Width = 1020
- _ExtentX = 1799
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":5B56
- PictureWidth = 47
- PictureHeight = 48
- PictureSize = 2
- OriginalPicSizeW= 47
- OriginalPicSizeH= 48
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- DropDown = -1 'True
- End
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 2
- Left = 5985
- TabIndex = 3
- Top = 45
- Width = 1005
- _ExtentX = 1773
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":76A8
- PictureWidth = 47
- PictureHeight = 48
- PictureSize = 2
- OriginalPicSizeW= 47
- OriginalPicSizeH= 48
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- DropDown = -1 'True
- End
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 3
- Left = 4950
- TabIndex = 4
- Top = 45
- Width = 735
- _ExtentX = 1296
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":91FA
- PictureWidth = 45
- PictureHeight = 46
- PictureSize = 2
- OriginalPicSizeW= 45
- OriginalPicSizeH= 46
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- End
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 4
- Left = 4200
- TabIndex = 5
- Top = 45
- Width = 735
- _ExtentX = 1296
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":AABC
- PictureWidth = 47
- PictureHeight = 46
- PictureSize = 2
- OriginalPicSizeW= 47
- OriginalPicSizeH= 46
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- End
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 5
- Left = 3450
- TabIndex = 6
- Top = 45
- Width = 735
- _ExtentX = 1296
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":C4EE
- PictureWidth = 47
- PictureHeight = 46
- PictureSize = 2
- OriginalPicSizeW= 47
- OriginalPicSizeH= 46
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- End
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 6
- Left = 2070
- TabIndex = 7
- Top = 45
- Width = 1080
- _ExtentX = 1905
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":DF20
- PictureWidth = 48
- PictureHeight = 45
- PictureSize = 2
- OriginalPicSizeW= 48
- OriginalPicSizeH= 45
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- DropDown = -1 'True
- End
- Begin ciaXPButton.XPButton XPButton1
- Height = 750
- Index = 7
- Left = 1035
- TabIndex = 8
- Top = 45
- Width = 1020
- _ExtentX = 1799
- _ExtentY = 1323
- Caption = ""
- ButtonStyle = 2
- Picture = "Form5.frx":F8C2
- PictureWidth = 48
- PictureHeight = 47
- PictureSize = 2
- OriginalPicSizeW= 48
- OriginalPicSizeH= 47
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- XPShowBorderAlways= -1 'True
- MaskColor = 16711935
- BackStyle = 0
- DropDown = -1 'True
- End
- End
- Begin ciaXPButton.XPButton ciaButton10
- Height = 360
- Left = 7305
- TabIndex = 10
- Top = 2940
- Width = 1065
- _ExtentX = 1879
- _ExtentY = 635
- Caption = "Exit"
- OriginalPicSizeW= 0
- OriginalPicSizeH= 0
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MouseIcon = "Form5.frx":11384
- MousePointer = 99
- End
- Begin ciaXPButton.XPButton ciaButton9
- Height = 360
- Left = 6180
- TabIndex = 11
- Top = 2940
- Width = 1065
- _ExtentX = 1879
- _ExtentY = 635
- Caption = "Next >>"
- OriginalPicSizeW= 0
- OriginalPicSizeH= 0
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MouseIcon = "Form5.frx":1169E
- MousePointer = 99
- End
- Begin VB.Label Label1
- Caption = $"Form5.frx":119B8
- Height = 705
- Left = 1140
- TabIndex = 9
- Top = 1095
- Width = 6870
- End
- Attribute VB_Name = "Form5"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Type POINTAPI
- X As Long
- Y As Long
- End Type
- Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
- Dim Menu1 As XPMenuLib
- Dim subMenu1 As XPMenuLib
- Dim subMenu2 As XPMenuLib
- Dim subMenu3 As XPMenuLib
- Private Sub ciaButton10_Click()
- End Sub
- Private Sub ciaButton9_Click()
- Form6.Show
- Unload Me
- End Sub
- Private Sub Form_Load()
- XPMenu1.SetImageList ImageList1
- Set Menu1 = XPMenu1.AddMenu("Menu1")
- Set subMenu1 = XPMenu1.AddMenu("subMenu1")
- Set subMenu2 = XPMenu1.AddMenu("subMenu2")
- Set subMenu3 = XPMenu1.AddMenu("subMenu3")
- With subMenu3
- .AddItem 10, "Toggle Operator Certification", menuTextItem
- .AddItem 0, "Edit Certification Tables", menuTextItem
- .AddItem 9, "View Who's Certified", menuTextItem
- End With
- With subMenu2
- .AddItem 10, "Toggle Security", menuTextItem
- .AddItem 0, "Edit Security Access", menuTextItem
- .AddItem 9, "View Security Log-Ins", menuSubMenu, , , , , , subMenu3
- End With
- With subMenu1
- .AddItem 10, "ISO Document", menuTextItem
- .AddItem 0, "CAD Drawing", menuSubMenu, , , , , , subMenu2
- .AddItem 9, "Historical Database ", menuTextItem
- End With
- With Menu1
- .AddItem 10, "New", menuSubMenu, , , , , , subMenu1
- .AddItem 3, "Open", menuTextItem
- .AddItem 0, "", menuSeperator
- .AddItem 0, "Save", menuTextItem
- .AddItem 0, "Save As", menuTextItem
- .AddItem 0, "", menuSeperator
- .AddItem 1, "Exit", menuTextItem
- End With
- Me.Move (Screen.Width - Me.ScaleWidth) \ 2, (Screen.Height - Me.ScaleHeight) \ 2
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Set Menu1 = Nothing
- Set subMenu1 = Nothing
- Set subMenu2 = Nothing
- Set subMenu3 = Nothing
- End Sub
- Private Sub XPButton1_Click(Index As Integer)
- Select Case Index
- Case 3, 4, 5
- MsgBox "Button ID = " & Index
- End Select
- End Sub
- Private Sub XPButton1_DropDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
- Dim pos As POINTAPI
- GetCursorPos pos
- XPMenu1.ShowMenu "Menu1", pos.X, pos.Y, TopCenter
- End Sub
- Private Sub XPMenu1_Click(menuName As String, itemNum As Integer, itemText As String)
- End Sub
-