mikromundo Posted April 17, 2020 Share Posted April 17, 2020 I would like in the first execution not to display the LOGIN and when the user triggers an action, I can restart the application displaying the LOGIN. Quote Link to comment Share on other sites More sharing options...
alfr Posted April 17, 2020 Share Posted April 17, 2020 You can set Handled:=true in the onBeforeLogin event in the mainmodule to skip the loginform and get directly to the mainform. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 18, 2020 Share Posted April 18, 2020 Please see this demo example: \FMSoft\Framework\uniGUI\Demos\Desktop\LoginForm Cookies Quote Link to comment Share on other sites More sharing options...
mikromundo Posted April 18, 2020 Author Share Posted April 18, 2020 Thanks @Sherzod but the example DISPLAYS THE LOGIN FORM, I need the FORM. LOGIN is not displayed on the first run, only afterwards (when clicking on a certain button). The tip from the @alfr ( thanks ) almost worked. Because it doesn't really show, but when I display the FORM LOGIN it immediately shows the MAIN again in another window. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 19, 2020 Share Posted April 19, 2020 12 hours ago, mikromundo said: Thanks @Sherzod but the example DISPLAYS THE LOGIN FORM, I need the FORM. LOGIN is not displayed on the first run, only afterwards (when clicking on a certain button). The tip from the @alfr ( thanks ) almost worked. Because it doesn't really show, but when I display the FORM LOGIN it immediately shows the MAIN again in another window. Hello, Well, yes, you can also use as you want by using cookies and controlling Handled. Quote Link to comment Share on other sites More sharing options...
mikromundo Posted April 20, 2020 Author Share Posted April 20, 2020 Yes... I Got it with handled. Thanks !!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.