App will work in background

Albert1996

Member
Licensed User
Longtime User
how do I make that when I close the application with the X instead of closing it puts in the background?
Excuse me for my english (I have used Google Translate)
 

Albert1996

Member
Licensed User
Longtime User
You can use FormLib.MinimizeBox to change the close button behavior.


When I run the program with this code

B4X:
Sub btnminimize_Click
flib.MinimizeBox
End Sub

I get this error
FormatException
Please, :sign0085:
 
Top