4D Write v16WR LOCK COMMAND |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v16
WR LOCK COMMAND
WR LOCK COMMAND
The WR LOCK COMMAND command allows you to prevent the user from being able to execute the command whose number is passed in cmdNumber. This can concern either a menu command or a palette command. This command affects the user's access to the indicated command only in the 4D Write area referenced by area. Access to the command is unaffected in other 4D Write areas. In the locked parameter, you can pass one of the following constants, found in the "WR Parameters" theme:
Notes:
Although the commands of a disabled menu cannot be selected, keyboard equivalents or toolbar buttons can still be used. If you want to completely lock these commands, you must call WR LOCK COMMAND specifically for each menu item. Note: The list of menus, commands and their reference is available in in the “WR Commands” constants theme. You can either pass a constant name or its values. You want the designer to be the only user that can access the Design environment: If(Current user="Designer") If the user name is not "Guru", the user will not be allowed to create new documents: If(Form event=On Load)
See also
|
PROPERTIES
Product: 4D Write
HISTORY
Created: 4D Write 6.5 ARTICLE USAGE
4D Write Language ( 4D Write v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||