Questions about NGDesktop Client

Forum to discuss the new web client version of Servoy.

Questions about NGDesktop Client

Postby tgs » Thu Oct 24, 2019 5:35 pm

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?
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Questions about NGDesktop Client

Postby sean » Thu Oct 24, 2019 6:54 pm

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() ?
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Questions about NGDesktop Client

Postby tgs » Thu Oct 24, 2019 7:26 pm

Hi Sean,

thank you for your reply!

1.
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).

2.
This is now working if application.exit() will be executed before the security.logout() function.
Last edited by tgs on Fri Oct 25, 2019 10:30 am, edited 1 time in total.
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Questions about NGDesktop Client

Postby sean » Thu Oct 24, 2019 7:40 pm

Hi Thomas,

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

https://support.servoy.com

Best,
Sean
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: Questions about NGDesktop Client

Postby tgs » Fri Oct 25, 2019 11:03 am

Hi Sean,

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

Best regards
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 886
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Questions about NGDesktop Client

Postby c85700 » Wed Dec 18, 2019 3:55 pm

thank's guya for this post
c85700
 
Posts: 4
Joined: Wed Dec 18, 2019 3:53 pm


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 5 guests