Menu to fill screen - immoveable - need Password to exit OI8.0.8 (OpenInsight 32-bit)
At 22 NOV 2011 11:31:08PM Robin Tinker wrote:
We wish to create a Menu for general public use.
They will be able to make enquiries through the menu.
There will be an exit button but it will require a password to exit.
We do not want them getting behind the menu into the desktop.
1. We have tried using:
sys_size = Get_Property('SYSTEM', 'SIZE')udp = sys_sizeheight = udp<4>height += .5 - for the 1cm at the bottom - doesnt workudp<1> = 0udp<2> = 0udp<3> is the screen widthudp<4> = heighttmp = set_property(@window, '@UDP', udp)It creates a menu which fills the screen except for 1cm at the bottom, which gives access to the desktop behind
2. The Menu is immoveable when tested and the Close Event works correctly
But when run from the the login screen, clicking the Close Button on the menu shuts the menu down without executing the the Close Event in the menu, and hence the check for the password to exit, exposing the desktop again.
Any suggestions
At 23 NOV 2011 03:40AM keith alvey wrote:
Have you tried unchecking the 'System Menu' property on the main window ??
Simon