home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "Ticker sample"
- ClientHeight = 1845
- ClientLeft = 1575
- ClientTop = 1395
- ClientWidth = 6735
- Height = 2205
- Left = 1515
- LinkTopic = "Form1"
- ScaleHeight = 1845
- ScaleWidth = 6735
- Top = 1095
- Width = 6855
- Begin VB.CommandButton Command1
- Caption = "&Apply"
- Height = 375
- Left = 5400
- TabIndex = 3
- Top = 1440
- Width = 1215
- End
- Begin VB.TextBox Text2
- Height = 285
- Left = 5040
- TabIndex = 2
- Top = 960
- Width = 735
- End
- Begin VB.TextBox Text1
- Height = 285
- Left = 5040
- TabIndex = 1
- Top = 600
- Width = 735
- End
- Begin VB.Label Label3
- Caption = "Double click the ticker !!!"
- BeginProperty Font
- name = "Arial"
- charset = 0
- weight = 400
- size = 15.75
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 735
- Left = 120
- TabIndex = 6
- Top = 600
- Width = 3015
- End
- Begin VB.Label Label2
- Alignment = 1 'Right Justify
- Caption = "Smoothness:"
- Height = 255
- Left = 3600
- TabIndex = 5
- Top = 960
- Width = 1335
- End
- Begin VB.Label Label1
- Alignment = 1 'Right Justify
- Caption = "Speed:"
- Height = 255
- Left = 3600
- TabIndex = 4
- Top = 600
- Width = 1335
- End
- Begin TICKERLib.Ticker Ticker1
- Height = 495
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 6735
- _Version = 65536
- _ExtentX = 11880
- _ExtentY = 873
- _StockProps = 125
- Text = $"ticker.frx":0000
- ForeColor = 65280
- BackColor = 0
- ScrollWidth = 1
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- Ticker1.ScrollSpeed = Text1
- Ticker1.Smoothness = Text2
- End Sub
- Private Sub Command2_Click()
- Ticker1.Clear
- End Sub
- Private Sub Form_Load()
- buff$ = "STOCK1" + vbTab + "6150" + vbCrLf + "STOCK2" + vbTab + "6150"
- Ticker1.Text = buff$
- Text1 = Ticker1.ScrollSpeed
- Text2 = Ticker1.Smoothness
- End Sub
- Private Sub Form_Resize()
- Ticker1.Width = Form1.Width
- End Sub
- Private Sub Label1_Click()
- Text1
- End Sub
-