home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{48DC3C96-B20F-11D1-A87F-D9394DC38340}#2.9#0"; "FlatBtn2.ocx"
- Begin VB.Form frmTest
- BorderStyle = 3 'Fixed Dialog
- Caption = "DevPower FlatBttn Control Test"
- ClientHeight = 3525
- ClientLeft = 30
- ClientTop = 270
- ClientWidth = 5070
- Icon = "frmTest.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 235
- ScaleMode = 3 'Pixel
- ScaleWidth = 338
- StartUpPosition = 2 'CenterScreen
- Visible = 0 'False
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 330
- Index = 12
- Left = 15
- TabIndex = 3
- Top = 360
- Width = 885
- _ExtentX = 1561
- _ExtentY = 582
- AlignCaption = 3
- AlignPicture = 2
- AutoSize = 0 'False
- Caption = "&Send"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 7.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MaskColor = 16711935
- MousePointer = 1
- TextColor = -2147483630
- Object.ToolTipText = "New Caption / Picture Alignment features"
- Picture = "frmTest.frx":0442
- End
- Begin VB.CheckBox chkEnabled
- Caption = "E&nabled"
- Height = 228
- Index = 1
- Left = 4008
- TabIndex = 14
- Top = 2280
- Value = 1 'Checked
- Width = 1068
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 600
- Index = 9
- Left = 4200
- TabIndex = 15
- Top = 2550
- Width = 600
- _ExtentX = 1058
- _ExtentY = 1058
- BorderStyle = 0
- Caption = ""
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MaskColor = 16711935
- MouseIcon = "frmTest.frx":0524
- MousePointer = 99
- TextColor = -2147483630
- Object.ToolTipText = "Transparent custom shapes now possible with Border-less buttons"
- Transparent = -1 'True
- MouseIcon = "frmTest.frx":083E
- Picture = "frmTest.frx":0B58
- PictureOver = "frmTest.frx":1E6A
- PictureDown = "frmTest.frx":317C
- PictureDisabled = "frmTest.frx":448E
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 315
- Index = 10
- Left = 0
- TabIndex = 1
- TabStop = 0 'False
- Top = 0
- Width = 480
- _ExtentX = 847
- _ExtentY = 556
- Style = 5
- Caption = "&File"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = -2147483630
- Object.ToolTipText = "Menu Style Buttons"
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 540
- Index = 7
- Left = 1965
- TabIndex = 8
- Top = 795
- Width = 675
- _ExtentX = 1191
- _ExtentY = 953
- Style = 3
- Caption = ""
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MaskColor = 16711935
- TextColor = -2147483630
- Object.ToolTipText = "Find Items"
- Picture = "frmTest.frx":57A0
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 360
- Index = 8
- Left = 1965
- TabIndex = 10
- Top = 1680
- Width = 960
- _ExtentX = 1693
- _ExtentY = 635
- Style = 4
- AlignCaption = 4
- BackColor = -2147483632
- Caption = "&Inbox"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Arial"
- Size = 12
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MaskColor = -2147483633
- ShadowColor = -2147483627
- TextColor = -2147483643
- Object.ToolTipText = "Click here to select view"
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 315
- Index = 5
- Left = 1410
- TabIndex = 12
- TabStop = 0 'False
- Top = 2280
- Width = 60
- _ExtentX = 106
- _ExtentY = 556
- Style = 2
- Caption = ""
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = -2147483630
- Object.ToolTipText = ""
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Cancel = -1 'True
- Height = 330
- Index = 4
- Left = 120
- TabIndex = 11
- Top = 2280
- Width = 1260
- _ExtentX = 2223
- _ExtentY = 582
- AlignCaption = 4
- Caption = "&Text Only"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Verdana"
- Size = 10.5
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = 8388736
- Object.ToolTipText = "Text Only Buttons"
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 390
- Index = 1
- Left = 945
- TabIndex = 4
- Top = 360
- Width = 435
- _ExtentX = 767
- _ExtentY = 688
- Caption = ""
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MaskColor = 16711680
- PlaySounds = 0 'False
- TextColor = -2147483630
- Object.ToolTipText = "Internet Explorer Stop"
- Picture = "frmTest.frx":5FF2
- PictureOver = "frmTest.frx":66CC
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 390
- Index = 2
- Left = 1425
- TabIndex = 5
- Top = 360
- Width = 435
- _ExtentX = 767
- _ExtentY = 688
- Caption = ""
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MaskColor = 255
- MouseIcon = "frmTest.frx":6DA6
- MousePointer = 99
- PlaySounds = 0 'False
- TextColor = -2147483630
- Object.ToolTipText = "Internet Explorer Home"
- MouseIcon = "frmTest.frx":6F08
- Picture = "frmTest.frx":706A
- PictureOver = "frmTest.frx":7744
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 792
- Index = 3
- Left = 264
- TabIndex = 6
- Top = 792
- Width = 876
- _ExtentX = 1535
- _ExtentY = 1402
- Style = 1
- AutoSize = 0 'False
- Caption = "Sea&rch"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MaskColor = 16711935
- TextColor = -2147483630
- Object.ToolTipText = "Search Button"
- Picture = "frmTest.frx":7E1E
- End
- Begin VB.CheckBox chkEnabled
- Caption = "Search Button &Enabled"
- Height = 408
- Index = 0
- Left = 150
- TabIndex = 7
- Top = 1644
- Value = 1 'Checked
- Width = 1755
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 330
- Index = 6
- Left = 1530
- TabIndex = 13
- Top = 2280
- Width = 2310
- _ExtentX = 4075
- _ExtentY = 582
- AlignCaption = 4
- Caption = "&and short cut keys"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Verdana"
- Size = 10.5
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = 8388736
- Object.ToolTipText = "New in Version 2.0 - Separators and Checkable buttons"
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 315
- Index = 11
- Left = 480
- TabIndex = 2
- TabStop = 0 'False
- Top = 0
- Width = 585
- _ExtentX = 1032
- _ExtentY = 556
- Style = 5
- Caption = "&Help"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = -2147483630
- Object.ToolTipText = "Displays Copyright Information"
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 540
- Index = 13
- Left = 3360
- TabIndex = 9
- Top = 795
- Width = 1110
- _ExtentX = 1958
- _ExtentY = 953
- Caption = "F&ont Direction"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 7.5
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- MousePointer = 1
- TextColor = -2147483630
- Object.ToolTipText = "Caption / Picture Alignment and Font Direction features"
- Picture = "frmTest.frx":9A90
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 315
- Index = 14
- Left = 120
- TabIndex = 17
- Top = 2715
- Width = 1200
- _ExtentX = 2117
- _ExtentY = 556
- Style = 10
- AlignCaption = 3
- AlignPicture = 2
- Caption = "Non Flat"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = -2147483640
- Object.ToolTipText = "Non Flat Button Style"
- Picture = "frmTest.frx":9B9A
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Height = 150
- Index = 15
- Left = 1515
- TabIndex = 18
- Top = 2595
- Width = 2310
- _ExtentX = 4075
- _ExtentY = 265
- Style = 9
- AlignCaption = 4
- Caption = ""
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Verdana"
- Size = 10.5
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = 8388736
- Object.ToolTipText = ""
- End
- Begin DevPowerFlatBttn.FlatBttn FlatButton
- Default = -1 'True
- Height = 315
- Index = 16
- Left = 1515
- TabIndex = 19
- Top = 2760
- Width = 2310
- _ExtentX = 4075
- _ExtentY = 556
- Style = 6
- AlignCaption = 2
- AlignPicture = 2
- Caption = "Menu Item Style"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- TextColor = -2147483640
- Object.ToolTipText = "Menu Item Style"
- Picture = "frmTest.frx":9CA4
- End
- Begin VB.Line MenuLine
- BorderColor = &H80000010&
- Index = 2
- X1 = 0
- X2 = 508
- Y1 = 52
- Y2 = 52
- End
- Begin VB.Line MenuLine
- BorderColor = &H80000014&
- Index = 1
- X1 = 0
- X2 = 508
- Y1 = 23
- Y2 = 23
- End
- Begin VB.Line MenuLine
- BorderColor = &H80000010&
- Index = 0
- X1 = 0
- X2 = 508
- Y1 = 22
- Y2 = 22
- End
- Begin VB.Label lblTrans
- Caption = "Transparent Borderless button:"
- Height = 870
- Left = 3960
- TabIndex = 16
- Top = 1440
- Width = 1170
- End
- Begin VB.Shape shpTransparent
- BorderColor = &H80000010&
- BorderStyle = 0 'Transparent
- FillColor = &H00C0C0FF&
- FillStyle = 0 'Solid
- Height = 2436
- Left = 4428
- Top = 1920
- Width = 720
- End
- Begin VB.Label lblMessages
- BackStyle = 0 'Transparent
- Caption = "Button Events"
- Height = 345
- Left = 45
- TabIndex = 0
- Top = 3150
- Width = 4215
- End
- Begin VB.Menu m_popup
- Caption = "popup"
- Visible = 0 'False
- Begin VB.Menu m_findfiles
- Caption = "Find Files..."
- End
- Begin VB.Menu m_findcomputer
- Caption = "Find Computer..."
- End
- End
- Begin VB.Menu m_rolldown
- Caption = "rolldown"
- Visible = 0 'False
- Begin VB.Menu m_Inbox
- Caption = "Inbox"
- End
- Begin VB.Menu m_calendar
- Caption = "Calendar"
- End
- End
- Begin VB.Menu m_file
- Caption = "file"
- Visible = 0 'False
- Begin VB.Menu m_new
- Caption = "&New"
- End
- Begin VB.Menu m_open
- Caption = "&Open..."
- End
- Begin VB.Menu m_save
- Caption = "&Save..."
- End
- Begin VB.Menu file_sep
- Caption = "-"
- End
- Begin VB.Menu m_exit
- Caption = "E&xit"
- End
- End
- Begin VB.Menu m_help
- Caption = "help"
- Visible = 0 'False
- Begin VB.Menu m_about
- Caption = "&About..."
- End
- End
- Attribute VB_Name = "frmTest"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Base 1
- Private Const idSTOP = 1
- Private Const idHOME = 2
- Private Const idSEARCH = 3
- Private Const idTEXT = 4
- Private Const idSEPARATOR = 5
- Private Const idSHORTCUT = 6
- Private Const idFIND = 7
- Private Const idOUTLOOK = 8
- Private Const idTRANSPARENT = 9
- Private Const idFILE = 10
- Private Const idHELP = 11
- Private Const idSEND = 12
- Private Const idFONTDIR = 13
- Private Const idNONFLAT = 14
- Private Const idMENUITEMSEPERATOR = 15
- Private Const idMENUITEM = 16
- Private Sub chkEnabled_Click(Index As Integer)
- If Index = 0 Then
- FlatButton(idSEARCH).Enabled = chkEnabled(Index).Value And vbChecked
- Else
- FlatButton(idTRANSPARENT).Enabled = chkEnabled(Index).Value And vbChecked
- End If
- End Sub
- Private Sub FlatButton_Click(Index As Integer)
- CancelDropDowns
- Dim sName As String
- sName = "'" + FlatButton(Index).Caption + "'"
- If sName = "''" Then sName = CStr(Index)
- If FlatButton(Index).Style = Check Then
- If FlatButton(Index).Checked Then
- lblMessages.Caption = "Button " + sName + " Checked"
- Else
- lblMessages.Caption = "Button " + sName + " UnChecked"
- End If
- Else
- lblMessages.Caption = "Button " + sName + " Clicked"
- End If
- If Index = idFONTDIR Then
- If FlatButton(Index).FontDirection < 3 Then
- FlatButton(Index).FontDirection = FlatButton(Index).FontDirection + 1
- Else
- FlatButton(Index).FontDirection = 0
- End If
- End If
- End Sub
- Private Sub FlatButton_DropDown(Index As Integer)
- Dim sName As String
- sName = "'" + FlatButton(Index).Caption + "'"
- If sName = "''" Then sName = CStr(Index)
- lblMessages.Caption = "Button " + sName + " Dropped Down"
- If Index = idFIND Then
- FlatButton(idOUTLOOK).CancelDropDown
- FlatButton(idFILE).CancelDropDown
- FlatButton(idHELP).CancelDropDown
- PopupMenu m_popup, , FlatButton(Index).Left, FlatButton(Index).Top + FlatButton(Index).Height
- ElseIf Index = idOUTLOOK Then
- FlatButton(idFIND).CancelDropDown
- FlatButton(idFILE).CancelDropDown
- FlatButton(idHELP).CancelDropDown
- PopupMenu m_rolldown, , FlatButton(Index).Left, FlatButton(Index).Top + FlatButton(Index).Height
- ElseIf Index = idFILE Then
- FlatButton(idFIND).CancelDropDown
- FlatButton(idOUTLOOK).CancelDropDown
- FlatButton(idHELP).CancelDropDown
- PopupMenu m_file, , FlatButton(Index).Left, FlatButton(Index).Top + FlatButton(Index).Height
- ElseIf Index = idHELP Then
- FlatButton(idFIND).CancelDropDown
- FlatButton(idOUTLOOK).CancelDropDown
- FlatButton(idFILE).CancelDropDown
- PopupMenu m_help, , FlatButton(Index).Left, FlatButton(Index).Top + FlatButton(Index).Height
- End If
- End Sub
- Private Sub FlatButton_DropDownCancelled(Index As Integer)
- lblMessages.Caption = "Button " + CStr(Index) + " Drop Down Cancelled"
- End Sub
- Private Sub FlatButton_KeyPress(Index As Integer, keyAscii As Integer)
- ' If the user presses the left or right arrows
- ' when one of the drop downs is active, move to the
- ' dropdowns pair control.
- ' This would work if we weren't using a VB menu,
- ' but instead using a custom window...
- If FlatButton(Index).DroppedDown Then
- If keyAscii = vbKeyRight Then
- If Index = idFIND Or Index = idFILE Then
- FlatButton(Index).CancelDropDown
- FlatButton(Index + 1).Value = True
- End If
- ElseIf keyAscii = vbKeyLeft Then
- If Index = idOUTLOOK Or Index = idHELP Then
- FlatButton(Index).CancelDropDown
- FlatButton(Index - 1).Value = True
- End If
- End If
- End If
- End Sub
- Private Sub FlatButton_MouseDown(Index As Integer, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
- ' Commented out so that Click Event Message can be seen:
- 'lblMessages.Caption = "Button " + CStr(Index) + " MouseDown"
- End Sub
- Private Sub FlatButton_MouseMove(Index As Integer, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
- ' Commented out so that Click Event Message can be seen:
- 'lblMessages.Caption = "Button " + CStr(Index) + " MouseMove"
- End Sub
- Private Sub FlatButton_MouseUp(Index As Integer, ByVal Button As Integer, ByVal Shift As Integer, ByVal x As Single, ByVal y As Single)
- ' Commented out so that Click Event Message can be seen:
- 'lblMessages.Caption = "Button " + CStr(Index) + " MouseUp"
- End Sub
- Private Sub FlatButton_PropertyDownloaded(Index As Integer, ByVal sProperty As String)
- lblMessages.Caption = "Button " + CStr(Index) + " " + sProperty + " Property downloaded"
- End Sub
- Private Sub FlatButton_Resize(Index As Integer, Width As Long, Height As Long)
- lblMessages.Caption = "Button " + CStr(Index) + " Resized"
- End Sub
- Private Sub FlatButton_RightClick(Index As Integer)
- lblMessages.Caption = "Button " + CStr(Index) + " Right Clicked"
- End Sub
- Private Sub Form_Click()
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
- If KeyCode = vbKeyEscape Then
- CancelDropDowns
- End If
- End Sub
- Private Sub Form_Load()
- On Error Resume Next
- MenuLine(0).Y1 = FlatButton(idHELP).Top + FlatButton(idHELP).Height + 1
- MenuLine(0).Y2 = MenuLine(0).Y1
- MenuLine(1).Y1 = MenuLine(0).Y1 + 1
- MenuLine(1).Y2 = MenuLine(1).Y1
- FlatButton(idSTOP).Left = FlatButton(idSEND).Left + FlatButton(idSEND).Width + 1
- FlatButton(idSEND).Top = MenuLine(1).Y1 + 2
- FlatButton(idSEND).Height = FlatButton(idHOME).Height
- FlatButton(idHOME).Top = FlatButton(idSEND).Top
- FlatButton(idSTOP).Top = FlatButton(idSEND).Top
- MenuLine(2).Y1 = FlatButton(idSTOP).Top + FlatButton(idSTOP).Height + 1
- MenuLine(2).Y2 = MenuLine(2).Y1
- FlatButton(idHOME).Left = FlatButton(idSTOP).Left + FlatButton(idSTOP).Width + 1
- FlatButton(idSEPARATOR).Left = FlatButton(idTEXT).Left + FlatButton(idTEXT).Width + 1
- FlatButton(idSHORTCUT).Left = FlatButton(idSEPARATOR).Left + FlatButton(idSEPARATOR).Width + 1
- FlatButton(idHELP).Left = FlatButton(idFILE).Left + FlatButton(idFILE).Width + 1
- FlatButton(idMENUITEM).Left = FlatButton(idSHORTCUT).Left
- FlatButton(idMENUITEMSEPERATOR).Left = FlatButton(idSHORTCUT).Left
- FlatButton(idMENUITEM).Top = FlatButton(idMENUITEMSEPERATOR).Top + FlatButton(idMENUITEMSEPERATOR).Height
- FlatButton(idNONFLAT).Top = FlatButton(idMENUITEM).Top
-
- lblMessages.Caption = "FlatButton Version " + FlatButton(idSTOP).Version
- lblMessages.Caption = lblMessages.Caption + FlatButton(idSTOP).VBVersion
- DoEvents
- Me.Show
- End Sub
- Private Sub Form_LostFocus()
- CancelDropDowns
- End Sub
- Private Sub lblMessages_Click()
- CancelDropDowns
- End Sub
- Private Sub m_about_Click()
- CancelDropDowns
- FlatButton(1).AboutBox
- End Sub
- Private Sub m_exit_Click()
- Unload Me
- End Sub
- Private Sub m_findcomputer_Click()
- lblMessages.Caption = "Find Computer Clicked"
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub m_findfiles_Click()
- lblMessages.Caption = "Find Files Clicked"
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub m_Inbox_Click()
- lblMessages.Caption = "Inbox Selected"
- FlatButton(idOUTLOOK).Caption = "&Inbox"
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub m_calendar_Click()
- lblMessages.Caption = "Calendar Selected"
- FlatButton(idOUTLOOK).Caption = "&Calendar"
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub m_new_Click()
- lblMessages.Caption = "New Selected"
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub m_open_Click()
- lblMessages.Caption = "Open Selected"
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub m_save_Click()
- lblMessages.Caption = "Save Selected"
- ' Cancel DropDowns:
- CancelDropDowns
- End Sub
- Private Sub CancelDropDowns()
- FlatButton(idFIND).CancelDropDown
- FlatButton(idOUTLOOK).CancelDropDown
- FlatButton(idFILE).CancelDropDown
- FlatButton(idHELP).CancelDropDown
- End Sub
-