Blame | Last modification | View Log
VERSION 5.00Begin VB.Form inpout32Caption = "Form1"ClientHeight = 4710ClientLeft = 915ClientTop = 1410ClientWidth = 4770LinkTopic = "Form1"PaletteMode = 1 'UseZOrderScaleHeight = 4710ScaleWidth = 4770Begin VB.Timer Timer2Left = 2400Top = 3480EndBegin VB.HScrollBar HScroll1Height = 375Left = 240Max = 500TabIndex = 17Top = 3000Value = 5Width = 1695EndBegin VB.Timer Timer1Left = 360Top = 3480EndBegin VB.CommandButton Command11Caption = "8"Height = 195Left = 4320TabIndex = 16Top = 2280Width = 135EndBegin VB.CommandButton Command10Caption = "7"Height = 195Left = 4080TabIndex = 15Top = 2280Width = 135EndBegin VB.CommandButton Command9Caption = "6"Height = 195Left = 3840TabIndex = 14Top = 2280Width = 135EndBegin VB.CommandButton Command8Caption = "5"Height = 195Left = 3600TabIndex = 13Top = 2280Width = 135EndBegin VB.CommandButton Command7Caption = "4"Height = 195Left = 3240TabIndex = 12Top = 2280Width = 135EndBegin VB.CommandButton Command6Caption = "3"Height = 195Left = 3000TabIndex = 11Top = 2280Width = 135EndBegin VB.CommandButton Command5Caption = "2"Height = 195Left = 2760TabIndex = 10Top = 2280Width = 135EndBegin VB.CommandButton Command4Caption = "1"Height = 195Left = 2520TabIndex = 9Top = 2280Width = 135EndBegin VB.TextBox Text13Height = 285Left = 3240TabIndex = 4Top = 1680Width = 495EndBegin VB.TextBox Text12Height = 285Left = 3240TabIndex = 3Top = 1200Width = 495EndBegin VB.TextBox Text10Height = 285Left = 3240TabIndex = 2Top = 240Width = 495EndBegin VB.TextBox Text11Height = 285Left = 3240TabIndex = 1Top = 720Width = 495EndBegin VB.Timer Timer_inputLeft = 1680Top = 120EndBegin VB.TextBox Text1Height = 372Left = 960TabIndex = 0Top = 120Width = 615EndBegin VB.Label Label13Caption = "13"Height = 375Left = 3840TabIndex = 8Top = 1680Width = 375EndBegin VB.Label Label3Caption = "12"Height = 375Left = 3840TabIndex = 7Top = 1200Width = 375EndBegin VB.Label Label2Caption = "10"Height = 375Left = 3840TabIndex = 6Top = 240Width = 375EndBegin VB.Label Label1Caption = "11"Height = 255Left = 3840TabIndex = 5Top = 720Width = 255EndEndAttribute VB_Name = "inpout32"Attribute VB_GlobalNameSpace = FalseAttribute VB_Creatable = FalseAttribute VB_PredeclaredId = TrueAttribute VB_Exposed = FalseDim pocitadloDim stare_cisloPrivate Sub Command10_Click()out &H40End SubPrivate Sub Command11_Click()out &H80End SubPrivate Sub Command2_Click()out &HFFTimer1.Enabled = TrueEnd SubPrivate Sub Command3_Click()out 3Timer1.Enabled = TrueEnd SubPrivate Sub Command4_Click()out &H1End SubPrivate Sub Command5_Click()out &H2End SubPrivate Sub Command6_Click()out &H4End SubPrivate Sub Command7_Click()out &H8End SubPrivate Sub Command8_Click()out &H10End SubPrivate Sub Command9_Click()out &H20End SubPrivate Sub Form_Load()Timer_input.Interval = 100Timer_input.Enabled = Truestare_cislo = HScroll1.ValueEnd SubPrivate Sub HScroll1_Change()If HScroll1.Value < stare_cislo ThenTimer1.Interval = 1Timer1.Enabled = TrueEnd IfIf HScroll1.Value > stare_cislo ThenTimer2.Interval = 1Timer2.Enabled = TrueEnd Ifstare_cislo = HScroll1.ValueEnd SubPrivate Sub Timer_input_Timer()Text1.Text = inpText10.Text = inp10Text11.Text = inp11Text12.Text = inp12Text13.Text = inp13End SubPrivate Sub Timer1_Timer()Select Case pocitadloCase 1Call Command8_ClickCase 2Call Command10_ClickCase 3Call Command9_ClickCase 4Call Command11_ClickTimer1.Enabled = Falsepocitadlo = 0End Selectpocitadlo = pocitadlo + 1End SubPrivate Sub Timer2_Timer()Select Case pocitadloCase 1Call Command11_ClickCase 2Call Command9_ClickCase 3Call Command10_ClickCase 4Call Command8_ClickTimer2.Enabled = Falsepocitadlo = 0End Selectpocitadlo = pocitadlo + 1End Sub