home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{FBC672E3-F04D-11D2-AFA5-E82C878FD532}#5.8#0"; "AS-IFCE1.OCX"
- Begin VB.Form frmPowerBannerDemonstration
- BorderStyle = 3 'Fixed Dialog
- Caption = "PowerBanner Demonstration"
- ClientHeight = 4560
- ClientLeft = 135
- ClientTop = 375
- ClientWidth = 5235
- Icon = "PowerBanner.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 4560
- ScaleWidth = 5235
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton cmdProperties
- Caption = "Colours..."
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Index = 0
- Left = 1890
- TabIndex = 8
- Top = 810
- Width = 1185
- End
- Begin VB.CommandButton cmdProperties
- Caption = "Font..."
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 375
- Index = 1
- Left = 1890
- TabIndex = 7
- Top = 1215
- Width = 1185
- End
- Begin AIFCmp1.asxPowerBanner bnrDemo
- Height = 2265
- Left = 3735
- Top = 180
- Width = 1365
- _ExtentX = 2408
- _ExtentY = 3995
- FormatString = "Ariad Software"
- 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
- End
- Begin VB.CheckBox chkEnabled
- Caption = "&Enabled"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 240
- Left = 1935
- TabIndex = 3
- Top = 1800
- Value = 1 'Checked
- Width = 1140
- End
- Begin VB.ComboBox cboOrientation
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 315
- ItemData = "PowerBanner.frx":0E42
- Left = 135
- List = "PowerBanner.frx":0E4C
- Style = 2 'Dropdown List
- TabIndex = 2
- Top = 1755
- Width = 1590
- End
- Begin VB.ComboBox cboBorderStyle
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 315
- ItemData = "PowerBanner.frx":0E70
- Left = 135
- List = "PowerBanner.frx":0E7A
- Style = 2 'Dropdown List
- TabIndex = 1
- Top = 1035
- Width = 1590
- End
- Begin VB.TextBox txtField
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 135
- TabIndex = 0
- Text = "Ariad Software"
- Top = 360
- Width = 3345
- End
- Begin AriadIFceCompTest.EventList lstEvents
- Height = 1230
- Left = 135
- TabIndex = 9
- Top = 3195
- Width = 4965
- _ExtentX = 8758
- _ExtentY = 2170
- End
- Begin AIFCmp1.asxLineHeaderEx asxLineHeaderEx1
- Height = 30
- Left = 180
- TabIndex = 10
- Top = 2565
- Width = 4920
- _ExtentX = 8678
- _ExtentY = 53
- 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
- Caption = ""
- TextColor = 0
- End
- Begin AIFCmp1.asxPowerButton btnAction
- Cancel = -1 'True
- Default = -1 'True
- Height = 420
- Index = 2
- Left = 3870
- TabIndex = 11
- Top = 2655
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "PowerBanner.frx":0E9D
- Caption = "C&lose"
- CaptionOffsetX = 8
- 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
- PictureAlignment= 3
- End
- Begin AIFCmp1.asxPowerButton btnAction
- Height = 420
- Index = 1
- Left = 2610
- TabIndex = 12
- Top = 2655
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "PowerBanner.frx":0FF7
- Caption = "&About..."
- CaptionOffsetX = 8
- 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
- PictureAlignment= 3
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "&Orientation:"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 195
- Index = 6
- Left = 135
- TabIndex = 6
- Top = 1530
- Width = 870
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "&BorderStyle:"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 195
- Index = 1
- Left = 135
- TabIndex = 5
- Top = 810
- Width = 900
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "&FormatString:"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 195
- Index = 2
- Left = 135
- TabIndex = 4
- Top = 135
- Width = 990
- End
- Attribute VB_Name = "frmPowerBannerDemonstration"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- DefInt A-Z
- Private Sub bnrDemo_Click()
- lstEvents.Add "bnrDemo_Click()"
- End Sub
- Private Sub bnrDemo_DblClick()
- lstEvents.Add "bnrDemo_DblClick()"
- End Sub
- Private Sub bnrDemo_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- lstEvents.Add "bnrDemo_MouseDown(" & Button & "," & Shift & "," & X & "," & Y & ")"
- End Sub
- Private Sub bnrDemo_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- lstEvents.Add "bnrDemo_MouseUp(" & Button & "," & Shift & "," & X & "," & Y & ")"
- End Sub
- Private Sub btnAction_Click(Index As Integer)
- Select Case Index
- Case 1: bnrDemo.About
- Case 2: Unload Me
- End Select
- End Sub
- Private Sub cboBorderStyle_Click()
- bnrDemo.BorderStyle = cboBorderStyle.ListIndex
- End Sub
- Private Sub cboOrientation_Click()
- bnrDemo.Orientation = cboOrientation.ListIndex
- End Sub
- Private Sub chkEnabled_Click()
- bnrDemo.Enabled = chkEnabled
- End Sub
- Private Sub cmdProperties_Click(Index As Integer)
- Select Case Index
- Case 0: PropPage.ShowPicker hWnd, "Object Colour", bnrDemo, ppickColor
- Case 1: PropPage.ShowPicker hWnd, "Object Font", bnrDemo, ppickFont
- End Select
- End Sub
- Private Sub Form_Load()
- cboBorderStyle.ListIndex = ifcbsNone
- cboOrientation.ListIndex = ifcoVertical
- End Sub
- Private Sub txtField_Change()
- bnrDemo.FormatString = txtField
- End Sub
-