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 frmLineHeaderExDemonstration
- BorderStyle = 3 'Fixed Dialog
- Caption = "LineHeaderEx Demonstration"
- ClientHeight = 3795
- ClientLeft = 1425
- ClientTop = 1860
- ClientWidth = 5820
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Icon = "LineHeaderEx.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3795
- ScaleWidth = 5820
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- Begin VB.CommandButton cmdFont
- Caption = "&Fonts..."
- Height = 375
- Left = 1755
- TabIndex = 10
- Top = 1890
- Width = 1185
- End
- Begin VB.CommandButton cmdColor
- Caption = "&Colours..."
- Height = 375
- Left = 540
- TabIndex = 9
- Top = 1890
- Width = 1185
- End
- Begin VB.ComboBox cboOrientation
- Height = 315
- ItemData = "LineHeaderEx.frx":0E42
- Left = 540
- List = "LineHeaderEx.frx":0E4C
- Style = 2 'Dropdown List
- TabIndex = 6
- Top = 1350
- Width = 1590
- End
- Begin VB.ComboBox cboBackStyle
- Height = 315
- ItemData = "LineHeaderEx.frx":0E66
- Left = 540
- List = "LineHeaderEx.frx":0E70
- Style = 2 'Dropdown List
- TabIndex = 2
- Top = 675
- Width = 1590
- End
- Begin VB.CheckBox chkEnabled
- Caption = "&Enabled"
- Height = 285
- Left = 2295
- TabIndex = 7
- Top = 1350
- Value = 1 'Checked
- Width = 1305
- End
- Begin VB.TextBox txtField
- Height = 285
- Index = 0
- Left = 2295
- TabIndex = 4
- Text = "LineHeaderEx"
- Top = 675
- Width = 1965
- End
- Begin AIFCmp1.asxLineHeaderEx hdrDemo
- Height = 240
- Left = 135
- TabIndex = 0
- Top = 90
- Width = 2805
- _ExtentX = 4948
- _ExtentY = 423
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Caption = "LineHeaderEx"
- End
- Begin AriadIFceCompTest.EventList lstEvents
- Height = 1230
- Left = 540
- TabIndex = 13
- Top = 2430
- Width = 5145
- _ExtentX = 9075
- _ExtentY = 2170
- End
- Begin AIFCmp1.asxLineHeaderEx asxLineHeaderEx1
- Height = 30
- Left = 540
- TabIndex = 8
- Top = 1800
- Width = 5145
- _ExtentX = 9075
- _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 = 4455
- TabIndex = 12
- Top = 1890
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "LineHeaderEx.frx":0E8B
- 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 = 3195
- TabIndex = 11
- Top = 1890
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "LineHeaderEx.frx":0FE5
- 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:"
- Height = 195
- Index = 1
- Left = 540
- TabIndex = 5
- Top = 1125
- Width = 870
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "Bac&kStyle:"
- Height = 195
- Index = 3
- Left = 540
- TabIndex = 1
- Top = 450
- Width = 750
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "&Caption:"
- Height = 195
- Index = 0
- Left = 2295
- TabIndex = 3
- Top = 450
- Width = 615
- End
- Attribute VB_Name = "frmLineHeaderExDemonstration"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub btnAction_Click(Index As Integer)
- Select Case Index
- Case 1: hdrDemo.About
- Case 2: Unload Me
- End Select
- End Sub
- Private Sub cboBackStyle_Click()
- hdrDemo.BackStyle = cboBackStyle.ListIndex
- End Sub
- Private Sub cboOrientation_Click()
- hdrDemo.Orientation = cboOrientation.ListIndex
- End Sub
- Private Sub chkEnabled_Click()
- hdrDemo.Enabled = chkEnabled
- End Sub
- Private Sub cmdColor_Click()
- PropPage.ShowPicker hWnd, "Object Colour", hdrDemo, ppickColor
- End Sub
- Private Sub cmdFont_Click()
- PropPage.ShowPicker hWnd, "Object Font", hdrDemo, ppickFont
- End Sub
- Private Sub Form_Load()
- cboBackStyle.ListIndex = ifbsOpaque
- cboOrientation.ListIndex = ifcoHorizontal
- End Sub
- Private Sub hdrDemo_Change()
- lstEvents.Add "hdrDemo_Change()"
- End Sub
- Private Sub hdrDemo_Click()
- lstEvents.Add "hdrDemo_Click()"
- End Sub
- Private Sub hdrDemo_DblClick()
- lstEvents.Add "hdrDemo_DblClick()"
- End Sub
- Private Sub hdrDemo_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- lstEvents.Add "hdrDemo_MouseDown(" & Button & "," & Shift & "," & X & ", " & Y & ")"
- End Sub
- Private Sub hdrDemo_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- lstEvents.Add "hdrDemo_MouseUp(" & Button & "," & Shift & "," & X & ", " & Y & ")"
- End Sub
- Private Sub txtField_Change(Index As Integer)
- hdrDemo.Caption = txtField(0)
- End Sub
-