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 frmGenericContainerDemonstration
- BorderStyle = 3 'Fixed Dialog
- Caption = "Generic Container Demonstration"
- ClientHeight = 4620
- ClientLeft = 2460
- ClientTop = 1545
- ClientWidth = 6090
- Icon = "GenericContainer.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 308
- ScaleMode = 3 'Pixel
- ScaleWidth = 406
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 'CenterScreen
- 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 = 285
- Left = 270
- TabIndex = 6
- Top = 2250
- Value = 1 'Checked
- Width = 1815
- End
- Begin AIFCmp1.asxGenericContainer cntDemo
- Height = 1995
- Left = 135
- Top = 135
- Width = 5820
- _ExtentX = 10266
- _ExtentY = 3519
- Begin VB.CommandButton cmdColor
- 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
- Left = 135
- TabIndex = 4
- Top = 1485
- Width = 1185
- End
- Begin VB.ComboBox cboBackStyle
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 315
- ItemData = "GenericContainer.frx":0E42
- Left = 135
- List = "GenericContainer.frx":0E4C
- Style = 2 'Dropdown List
- TabIndex = 3
- Top = 1035
- Width = 1950
- 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 = "GenericContainer.frx":0E65
- Left = 135
- List = "GenericContainer.frx":0E75
- Style = 2 'Dropdown List
- TabIndex = 1
- Top = 360
- Width = 1950
- End
- Begin VB.Label lblMsg
- AutoSize = -1 'True
- Caption = $"GenericContainer.frx":0E9B
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 975
- Left = 2475
- TabIndex = 5
- Top = 360
- Visible = 0 'False
- Width = 2850
- WordWrap = -1 'True
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "&BackStyle:"
- 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 = 2
- Top = 810
- Width = 750
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "Border&Style:"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 195
- Index = 0
- Left = 135
- TabIndex = 0
- Top = 135
- Width = 900
- End
- End
- Begin AriadIFceCompTest.EventList lstEvents
- Height = 1230
- Left = 135
- TabIndex = 10
- Top = 3285
- Width = 5820
- _ExtentX = 11298
- _ExtentY = 2170
- End
- Begin AIFCmp1.asxLineHeaderEx asxLineHeaderEx1
- Height = 30
- Left = 135
- TabIndex = 7
- Top = 2655
- Width = 5820
- _ExtentX = 10266
- _ExtentY = 53
- Caption = ""
- TextColor = 0
- End
- Begin AIFCmp1.asxPowerButton btnAction
- Cancel = -1 'True
- Default = -1 'True
- Height = 420
- Index = 2
- Left = 4725
- TabIndex = 9
- Top = 2745
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "GenericContainer.frx":0F3D
- 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 = 3465
- TabIndex = 8
- Top = 2745
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "GenericContainer.frx":1097
- 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.Shape Shape1
- FillStyle = 7 'Diagonal Cross
- Height = 1995
- Left = 135
- Shape = 2 'Oval
- Top = 135
- Width = 5820
- End
- Attribute VB_Name = "frmGenericContainerDemonstration"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- DefInt A-Z
- Private Sub btnAction_Click(Index As Integer)
- Select Case Index
- Case 1: cntDemo.About
- Case 2: Unload Me
- End Select
- End Sub
- Private Sub cboBackStyle_Click()
- cntDemo.BackStyle = cboBackStyle.ListIndex
- End Sub
- Private Sub cboBorderStyle_Click()
- cntDemo.BorderStyle = cboBorderStyle.ListIndex
- End Sub
- Private Sub chkEnabled_Click()
- cntDemo.Enabled = chkEnabled
- lblMsg.Visible = Not cntDemo.Enabled
- End Sub
- Private Sub cmdColor_Click()
- PropPage.ShowPicker hWnd, "Object Colour", cntDemo, ppickColor
- End Sub
- Private Sub cntDemo_Click()
- lstEvents.Add "cntDemo_Click()"
- End Sub
- Private Sub cntDemo_DblClick()
- lstEvents.Add "cntDemo_DblClick()"
- End Sub
- Private Sub cntDemo_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- lstEvents.Add "cntDemo_MouseDown(" & Button & "," & Shift & "," & X & "," & Y & ")"
- End Sub
- Private Sub cntDemo_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
- lstEvents.Add "cntDemo_MouseUp(" & Button & "," & Shift & "," & X & "," & Y & ")"
- End Sub
- Private Sub cntDemo_Resize(ByVal NewWidth As Single, ByVal NewHeight As Single)
- lstEvents.Add "cntDemo_Resize(" & NewWidth & "," & NewHeight & ")"
- End Sub
- Private Sub Form_Load()
- cboBorderStyle.ListIndex = ifcbsNone
- cboBackStyle.ListIndex = ifbsOpaque
- End Sub
-