Professional Documents
Culture Documents
Zadatak 2
Zadatak 2
Private Sub Command2_Click() Dim i As Integer For i = 0 To 9 Text1(i).Text = "0" Next End Sub
brise
2. zadatak sa vecim kapacitetom Dim suma As Integer Dim i As Integer suma = 0 For i = 0 To 9 Text1(i).Text = CStr(Val(Text1(i).Text)) suma = suma + CStr(Val(Text1(i).Text)) Next Label1.Caption = CStr(suma Private Sub Text1_GotFocus(Index As Integer) MsgBox "ovo je index" & CStr(Index) End Sub
Sabiranje