VERSION 5.00
Begin VB.Form speed 
   BackColor       =   &H00FF0000&
   Caption         =   "скорость"
   ClientHeight    =   4860
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6555
   LinkTopic       =   "Form1"
   ScaleHeight     =   4860
   ScaleWidth      =   6555
   StartUpPosition =   3  'Windows Default
   Begin VB.HScrollBar HScroll 
      Height          =   255
      Index           =   1
      Left            =   600
      Max             =   100
      TabIndex        =   2
      Top             =   1680
      Value           =   50
      Width           =   5535
   End
   Begin VB.TextBox txtdispley 
      Alignment       =   2  'Center
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   600
      MaxLength       =   3
      ScrollBars      =   1  'Horizontal
      TabIndex        =   1
      ToolTipText     =   "50"
      Top             =   480
      Width           =   5535
   End
   Begin VB.CommandButton Cmdexit 
      Caption         =   "Выход"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   204
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   2400
      TabIndex        =   0
      Top             =   3360
      Width           =   1575
   End
End
Attribute VB_Name = "speed"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Cmdexit_Click()
Beep
End
End Sub

Private Sub HSpeed_Scroll()

txtdispley.Text = Str(HScroll.volue) + "км/ч"
End Sub

Private Sub HScroll_Change(Index As Integer)
'txtdispley.Text = Str(HScroll.volue) + "км/ч"

End Sub


Private Sub txtdispley_KeyDown(KeyCode As Integer, Shift As Integer)
'HScroll.Count = Str(HScroll.volume)
End Sub
