Flexpendant sdk - CloseMe behavior

Hello

I’m a complete newbie to flexpendant sdk.

I’m struggling with a simple issue that maybe somenone already found the solution.
I created a screen in VS2008 and add a button.
In the click event handler of the button i wrote

this.closeme()

build the solution and tried on VC and when i click the button the button disapears but the app remains installed. To uninstall i have to press the close cross in the upper right corner.

Did the same screen using screenmaker and when i hit the button the app is uninstalled!

Check the auto generated code In the event handler and is this.closeme().

Can someone give me a hint on what i have to do in VS2008 in order to uninstall the app?

Thanks in advance.

Which version of the SDK? I found this in the release notes for 5.13 regarding limitations for CloseMe behavior.

image.png