Jump to content

Help with two things - how to?


Recommended Posts

I try to do some thing but I cant. I need some ideas how to do :


1. Set browser full screen when app is loaded?

2. Prevent load application from beninig when relaod page in browser (I make login from one of demo on this site, but every time I reload web page in browser I get login again)?



Link to comment
Share on other sites



Question 1 : sorry i don't have the solution

Question 2 : i don't have the code but i think it has to do with the MainForm.OnActivate or MainForm.OnCreate.
                    Normally i create a main menu with the option : LogIn, Log Out
                    So the use can select what he needs. When choosing Log In then a login screen appears and
                    after a successfull login the 'Log In' option will be disabled till he logs out


Regards Peter

Link to comment
Share on other sites


2. Put the code in UniServerModule.CustomMeta  ,   to confirm reload , close ,refresh the browser 


<script language="JavaScript">
window.onbeforeunload = bunload;

function bunload(){
dontleave="Are you sure you want to leave the system? The system will Terminate!";
return dontleave;


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...