PDA

View Full Version : Splash dialog does not close



Sergio_S
08-18-2009, 06:27 PM
I had an old project built in AMS 7.1.1007.0 running on Windows XP Pro, with a splash dialog set to allow user to close the screen by clicking on it and this action works fine.

Currently, I am working in this same project to introduce some minor modifications on it, but now I am using AMS 7.5.1006.0 running on Windows Vista. After building this new version, the aforesaid action is no longer working as expected. The user clicks on the screen and it remains open for the display set time. Same image, same settings.

Is it a bug or am I missing something?

Centauri Soldier
08-18-2009, 06:40 PM
Try using


Window.Close(Application.GetWndHandle(),CLOSEWND_T ERMINATE);

instead of


Application.Exit(0);

Sergio_S
08-19-2009, 07:36 AM
It is not what I need. The user must be able to close the window and to skip the splash.
There is a setting (AllowClickToSkip = true) on the action Dialog.SplashImage that is supposed to allow that and it worked well on my old project. Now, with the last AMS release it is not working. The same project with the same image and settings. Could be the AMS release or the Vista?

Ulrich
08-19-2009, 09:14 AM
Hello,

thank you for the report - I was able to see the issue on XP. There seems to be something wrong with the Splash dialog in the current build, and it will be looked into during the next update. Ref number: 18901.

Ulrich

Sergio_S
08-19-2009, 09:52 AM
:yes
Thanks Ulrich for confirming the issue. In this meantime I will try some workaround.

On time: FYI, the Esc key works.

Sergio.