home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{20976770-692B-4564-84B5-CCC822AA2B7A}#1.4#0"; "CmdBtnX5.ocx"
- Begin VB.Form frmMenu
- BorderStyle = 3 'Fixed Dialog
- Caption = "CommandButtonX 5 Demonstration Program"
- ClientHeight = 6540
- ClientLeft = 1950
- ClientTop = 1545
- ClientWidth = 6360
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Icon = "Menu.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 436
- ScaleMode = 3 'Pixel
- ScaleWidth = 424
- StartUpPosition = 2 'CenterScreen
- Begin VB.Frame Frame1
- Caption = "Available Demonstrations:"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 4155
- Left = 1710
- TabIndex = 2
- Top = 1260
- Width = 4500
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Height = 390
- Index = 1
- Left = 270
- TabIndex = 3
- Top = 540
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":014A
- CaptionOffsetX = 8
- PictureAlignment= 3
- Caption = "&General"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":01CC
- End
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Height = 390
- Index = 2
- Left = 270
- TabIndex = 5
- Top = 1125
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":0766
- CaptionOffsetX = 8
- PictureAlignment= 3
- Caption = "&Colors"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":07E8
- End
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Height = 390
- Index = 3
- Left = 270
- TabIndex = 7
- Top = 1710
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":0D82
- CaptionOffsetX = 8
- PictureAlignment= 3
- Caption = "&Pictures"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":0E04
- End
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Height = 390
- Index = 4
- Left = 270
- TabIndex = 9
- Top = 2295
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":139E
- CaptionOffsetX = 8
- PictureAlignment= 3
- Caption = "&Effects"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":1420
- End
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Height = 390
- Index = 5
- Left = 270
- TabIndex = 11
- Top = 2880
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":157A
- CaptionOffsetX = 8
- PictureAlignment= 3
- Caption = "&Drag and Drop"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":15FC
- End
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Height = 390
- Index = 7
- Left = 270
- TabIndex = 13
- Top = 3465
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":1756
- CaptionOffsetX = 8
- MaskColor = -2147483633
- PictureAlignment= 3
- Caption = "D&rop Downs"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":17D8
- End
- Begin VB.Label lblDemo
- AutoSize = -1 'True
- Caption = "Your buttons can act as drop downs with the change of a value"
- Height = 390
- Index = 5
- Left = 1890
- TabIndex = 14
- Top = 3465
- Width = 2490
- WordWrap = -1 'True
- End
- Begin VB.Label lblDemo
- AutoSize = -1 'True
- Caption = "CommandButtonX now supports OLE Drag and Drop!"
- Height = 390
- Index = 4
- Left = 1890
- TabIndex = 12
- Top = 2880
- Width = 2490
- WordWrap = -1 'True
- End
- Begin VB.Label lblDemo
- AutoSize = -1 'True
- Caption = "Miscellaneous tips for creating hover or hyperlink effects"
- Height = 390
- Index = 3
- Left = 1890
- TabIndex = 10
- Top = 2295
- Width = 2505
- WordWrap = -1 'True
- End
- Begin VB.Label lblDemo
- AutoSize = -1 'True
- Caption = "Several different picture properties allow custom looks"
- Height = 390
- Index = 2
- Left = 1890
- TabIndex = 8
- Top = 1710
- Width = 2490
- WordWrap = -1 'True
- End
- Begin VB.Label lblDemo
- AutoSize = -1 'True
- Caption = "Need to use non-standard colors? It's easy, as this demo shows!"
- Height = 390
- Index = 1
- Left = 1890
- TabIndex = 6
- Top = 1125
- Width = 2490
- WordWrap = -1 'True
- End
- Begin VB.Label lblDemo
- AutoSize = -1 'True
- Caption = "A generalised look at the features supported by CommandButtonX"
- Height = 390
- Index = 0
- Left = 1890
- TabIndex = 4
- Top = 540
- Width = 2490
- WordWrap = -1 'True
- End
- End
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Cancel = -1 'True
- Default = -1 'True
- Height = 390
- Index = 0
- Left = 4680
- TabIndex = 16
- Top = 5625
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":1D72
- CaptionOffsetX = 8
- PictureAlignment= 3
- Caption = "E&xit"
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":1DF4
- End
- Begin CommandButtonXCtl.CommandButtonX cmdDemo
- Height = 390
- Index = 6
- Left = 3150
- TabIndex = 15
- Top = 5625
- Width = 1500
- _ExtentX = 2646
- _ExtentY = 688
- DropDownPicture = "Menu.frx":1F4E
- CaptionOffsetX = 8
- MaskColor = -2147483633
- PictureAlignment= 3
- Caption = "&About..."
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Picture = "Menu.frx":1FD0
- End
- Begin CommandButtonXDemo.pucLogoPane LogoPane1
- Align = 3 'Align Left
- Height = 6540
- Left = 0
- Top = 0
- Width = 1545
- _ExtentX = 2725
- _ExtentY = 11536
- Picture = "Menu.frx":212A
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "Please select a demonstration from the list below:"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 195
- Index = 1
- Left = 1710
- TabIndex = 1
- Top = 855
- Width = 3570
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "Welcome to the demonstration program for CommandButtonX version 5, an extended button control."
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 585
- Index = 0
- Left = 1710
- TabIndex = 0
- Top = 135
- Width = 4470
- WordWrap = -1 'True
- End
- Attribute VB_Name = "frmMenu"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- DefInt A-Z
- Private Sub cmdDemo_Click(Index As Integer)
- Select Case Index
- Case 0: Unload Me
- Case 1: frmGeneral.Show 1
- Case 2: frmColors.Show 1
- Case 3: frmPictures.Show 1
- Case 4: frmEffects.Show 1
- Case 5: frmOLEDragAndDrop.Show 1
- Case 6: cmdDemo(Index).About
- Case 7: frmDropDown.Show 1
- End Select
- End Sub
-