I am developing an UI app which will be used in a windows environment. The layout is very simple:
Button - Exit
Button - Select
Tableview - For data
On clicking Select, the file chooser is called and a program file is selected. The name is passed to a sub which reads the file, line by line and searches for "objects and properties" (nothing to do with B4X). Once all objects are found a second sub is called which slices this string info using Regex and puts the data into the tableview.
Everything works, without errors. So what is the problem? As soon as the data is put into the tableview the App ends!
What have I missed? The App should stay open and at least wait for me to click Exit. I am sure it is something simple. Note: I am only running in debug mode.
Many thanks.
Button - Exit
Button - Select
Tableview - For data
On clicking Select, the file chooser is called and a program file is selected. The name is passed to a sub which reads the file, line by line and searches for "objects and properties" (nothing to do with B4X). Once all objects are found a second sub is called which slices this string info using Regex and puts the data into the tableview.
Everything works, without errors. So what is the problem? As soon as the data is put into the tableview the App ends!
What have I missed? The App should stay open and at least wait for me to click Exit. I am sure it is something simple. Note: I am only running in debug mode.
Many thanks.