Xojo wont quit on RPI

Is there anything special I need to do to get my app to quit?
When I hit the X (close) the window closes, but the task is
still running on the Pi. Is there some code I am supposed
to put somewhere that makes it “really” close?

Do you change the AutoQuit property?

Do you use the Quit method?

Nope – Please educate me.

I
in window1 close event I put

close

pretty sure that’s all wrong…

You can quit from the close event if that’s what you want:

Quit(0)

Or set the AutoQuit property to quit the application when all windows have closed. I thought there used to be a toggle for this in App or Shared Build Settings, but I’m not seeing it now, so you could do the following in App.Open event:

AutoQuit = True

[quote=445891:@Luigi Faustini]Nope – Please educate me.

I
in window1 close event I put

close

pretty sure that’s all wrong…[/quote]
I’m pretty sure that’ll get you an infinite loop. The Close method raises the Close event.

I will try that, thank you.