Sub PlusOne_Click
Dim i, r, c, Answ As Int
Dim txt As String
If SelectedRow >= 0 Then
txt="Wollen Sie Anzahl +1 erhöhen?"&CRLF
If Msgbox2(txt,"ATTENTION","Yes","Cancel","",Null) = DialogResponse.POSITIVE Then
Dim Ver1, Ver2, Ver3, Ver4 As String
' If SelectedRow < NumberOfRows - 1 Then
' For r = SelectedRow To NumberOfRows - 2 'Beim +1 erhöhen brauche es nicht.....
r = SelectedRow
For c = 0 To NumberOfColumns - 1
Select c
Case 0
Ver1 = GetView(r, c).Text ' Jetzige Anzahl
' Msgbox ("Ver1 : " & Ver1,"")
Case 1
Ver2 = GetView(r, c).Text ' Nummer des ARtikels
' Msgbox ("Ver2 : " & Ver2,"")
Case 2
Ver3 = GetView(r, c).Text ' Beschreibung des Artikels
' Msgbox ("Ver3 : " & Ver3,"")
Case 3
Ver4 = GetView(r, c).Text ' Preis = Stück + (Preis/Stück)
' Msgbox ("Ver4 : " & Ver4,"")
End Select
Next
' Next
' End If
End If
End If
' PlusOneAddieren (Anzahl , Preis)
PlusOneAddieren (Ver1,Ver4)
End Sub