Code itself is not so interesting. The error-message is generated in line: "Result = InputList (lst, "Maak keuze", iDummy)".
If I enter the 'back-button' on my samsung galaxy s2 when Inputlist is active then error message is shown and the application has to be ended.
Attached a screendump of the error message.
Thanks for your willingness to help me.
Pieter
QUOTE
Sub btnSelect_Click
Dim Result, iDummy As Int
Dim lst() As String
Dim Result As Int
lst = Array As String("Vandaag", "Week", "t/m Vandaag", "Alles", "Categorie/Boeking", "Budget")
iDummy = -1
For Teller = 0 To 5
If lst(Teller) = SelektieKode Then iDummy = Teller
Next
Result = InputList (lst, "Maak keuze", iDummy)
SelektieKode = lst(Result)
If SelektieKode = "Categorie/Boeking" Then
lst = Array As String("Alles", "Kasopname", "Logies", "Verblijf", "Brandstof", "Vervoer", "Leven", "Overig", _
"Kadootjes", "Wisselen", "Uitjes", "Buiten Budget", "Onvoorzien", "Privé Lia", "Privé Pieter", "Borg", "Giro")
Result = InputList (lst, "CATEGORIE - Selecteer", 0)
SelectedCategorie = lst(Result)
lst = Array As String("Alles", "Kas", "Giro", "On Hold", "Master Card", "Giro Pieter", "Giro Lia", "B-Leven", _
"B-Logies", "B-Verblijf", "B-Vakantie", "B-Transport", "B-Privé Lia", "B-Privé Pieter", "Startkas")
Result = InputList (lst, "BOEKING - Selecteer", 0)
SelectedBoeking = lst(Result)
End If
Gecancelled = False
Activity_Resume
End Sub
UNQUOTE