First program not work quite yet

mramos

Member
Licensed User
Longtime User
How to I exit my program? I have an exit button, can I just do a return?
 
Last edited:

mramos

Member
Licensed User
Longtime User
Here is the program. If there is an expert that can lookup at it and tell me what I am doing wrong. It is not a large program.
 

Attachments

  • geoloc.zip
    8.2 KB · Views: 272
Upvote 0

lawboy

Member
Licensed User
Longtime User
Hi,

Change
B4X:
Sub Exit_Click
    Activity.Finish
End Sub

To

B4X:
Sub ExitButton_Click
 Activity.Finish   
End Sub

As the button's name is "ExitButton" and is not being called with just exit_click sub.

-Lawboy
 
Upvote 0
Top