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 frmDemonstration
- BorderStyle = 3 'Fixed Dialog
- Caption = "Ariad Interface Components version 1.2 Demonstration"
- ClientHeight = 4245
- ClientLeft = 825
- ClientTop = 1065
- ClientWidth = 7350
- Icon = "Demonstration.frx":0000
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 283
- ScaleMode = 3 'Pixel
- ScaleWidth = 490
- StartUpPosition = 2 'CenterScreen
- Begin VB.ListBox lstControls
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 3270
- IntegralHeight = 0 'False
- ItemData = "Demonstration.frx":0E42
- Left = 135
- List = "Demonstration.frx":0E76
- Sorted = -1 'True
- TabIndex = 1
- Top = 315
- Width = 1680
- End
- Begin AIFCmp1.asxPowerButton btnAction
- Cancel = -1 'True
- Height = 420
- Index = 2
- Left = 5985
- TabIndex = 5
- Top = 3645
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "Demonstration.frx":0F31
- Caption = "E&xit"
- 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 = 4725
- TabIndex = 4
- Top = 3645
- Width = 1230
- _ExtentX = 2170
- _ExtentY = 741
- Picture = "Demonstration.frx":108B
- 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 AIFCmp1.asxPowerButton btnAction
- Default = -1 'True
- Height = 420
- Index = 0
- Left = 2565
- TabIndex = 3
- Top = 3645
- Width = 2130
- _ExtentX = 3757
- _ExtentY = 741
- Picture = "Demonstration.frx":11E5
- Caption = "&View Demonstration..."
- CaptionOffsetX = 8
- Enabled = 0 'False
- 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.asxFontLabel flbData
- Height = 3030
- Left = 1935
- TabIndex = 2
- Top = 495
- Width = 5280
- _ExtentX = 9313
- _ExtentY = 5345
- Caption = "Please select a control from the list displayed to the left"
- 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
- WordWrap = -1 'True
- End
- Begin AIFCmp1.asxPanel pnlTitle
- Height = 330
- Left = 1935
- Top = 90
- Width = 5280
- _ExtentX = 9313
- _ExtentY = 582
- BorderStyle = 0
- Picture = "Demonstration.frx":133F
- UseMaskColor = 0 'False
- BackColor = -2147483632
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Arial"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- CaptionAlignment= 3
- PictureAlignment= 5
- PictureOffsetX = -5
- CaptionOffsetX = 5
- End
- Begin VB.Label lblHdr
- AutoSize = -1 'True
- Caption = "&Controls:"
- BeginProperty Font
- Name = "Tahoma"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 195
- Left = 135
- TabIndex = 0
- Top = 90
- Width = 660
- End
- Attribute VB_Name = "frmDemonstration"
- 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 0: GoSub ShowDemos
- Case 1: flbData.About
- Case 2: Unload Me
- End Select
- Exit Sub
- ShowDemos:
- Select Case lstControls
- Case "Bars": frmBarsDemonstration.Show 1
- Case "Button Strip": frmButtonStripDemonstration.Show 1
- Case "Power Button", "Tool Button": frmPowerButtonDemonstration.Show 1
- Case "Font Label": frmFontLabelDemonstration.Show 1
- Case "Generic Container": frmGenericContainerDemonstration.Show 1
- Case "Label": frmLabelDemonstration.Show 1
- Case "Line Header": frmLineHeaderExDemonstration.Show 1
- Case "Menu Event": frmMenuEventDemonstration.Show 1
- Case "Pager": frmPagerDemonstration.Show 1
- Case "Panel": frmPanelDemonstration.Show 1
- Case "Power Banner": frmPowerBannerDemonstration.Show 1
- Case "Status Bar": frmStatusBarDemonstration.Show 1
- Case "System Button": frmSysButtonDemonstration.Show 1
- Case "Toolbar": frmToolbarDemonstration.Show 1
- Case "Toolbox": frmToolboxDemonstration.Show 1
- End Select
- Return
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Set PropPage = Nothing
- End Sub
- Private Sub lstControls_Click()
- Dim D$
- pnlTitle.Caption = lstControls
- Select Case lstControls
- Case "Bars": D$ = BAR$
- Case "Button Strip": D$ = BSTRIP$
- Case "Power Button", "Tool Button": D$ = PBUTTON$
- Case "Font Label": D$ = FLABEL$
- Case "Generic Container": D$ = GENCONT$
- Case "Label": D$ = LABEL$
- Case "Line Header": D$ = LINEHDR$
- Case "Menu Event": D$ = MENUEV$
- Case "Pager": D$ = PAGER$
- Case "Panel": D$ = PANEL$
- Case "Power Banner": D$ = PBANNER$
- Case "Status Bar": D$ = STATUSBAR$
- Case "System Button": D$ = SYSBTN$
- Case "Toolbar": D$ = TOOLBAR$
- Case "Toolbox": D$ = TOOLBOX$
- End Select
- flbData.Caption = D$
- btnAction(0).Enabled = -1
- End Sub
- Private Sub lstControls_DblClick()
- btnAction_Click 0
- End Sub
-