Questions about NGDesktop Client

I would like to deploy a new NG solution as NGDesktop Client, but there are questions and I couldn’t find the answers.

  • How can I set the size and location of the NGDesktop window on startup?
  • How can I logout the user and stay in the current window with the loginform?

Hi Thomas,

  1. Setting size from Servoy Code ? or configured in advance to start a certain size ? Because first the NG client won’t be loaded and the window will already be made by the exe, then NG Client will resize it? That will be rather awkward because the user will see it happening. I suppose it could be configured in advance and stored. If that makes sense, please file a feature request and explain the use case. We will look int it. It is perhaps still hard-coded.

  2. For the logout issue, that sounds unexpected. security.logout() should just work. Do you also call application.exit() ?

Hi Sean,

thank you for your reply!

I understand the difficulties and will file a feature request. In the Smart Client (I know it is totally different) I store the window size and location onSolutionClose() for each user. So the solution window opens in the same condition as on quit.
Because of the NGDesktop client looks like the Smart Client, the individual size and location of the application window would be very nice (and userfriendly).

This is now working if application.exit() will be executed before the security.logout() function.

Hi Thomas,

That makes sense, please file a feature request we’ll take a look.

https://support.servoy.com

Best,
Sean

Hi Sean,

I have created a feature request (SVY-14303)!

Best regards

thank’s guya for this post