Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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_size
 height	= udp<4>
 height     += .5      - for the 1cm at the bottom - doesnt work
 udp<1>	= 0
 udp<2>	= 0
 udp<3> is the screen width
 udp<4>	= height
  tmp           = 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

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/662fc1010004444eba4021c00.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1