2024-03-25 15:12:53 -07:00

11 lines
810 B
JSON

{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function security_check, send_event, fieldcount\r\ndeclare subroutine security_err_msg, forward_event\r\n\r\n$insert security_rights_equ\r\nif security_check( 'Names', Delete$ ) then\r\n forward_event()\r\n AllControls = utility( 'OBJECTLIST', @window, '' )\r\n Acnt = fieldcount( AllControls, @fm )\r\n for i = 1 to Acnt\r\n ThisControl = AllControls<i>\r\n if ThisControl[-6,6] = '_LABEL' or index( ThisControl, 'MENU', 1 ) or index( ThisControl, 'TEXT', 1 ) else\r\n Void = set_property( ThisControl, 'ENABLED', 1 )\r\n end\r\n next i\t\r\nend else\r\n security_err_msg( 'Names', Delete$ )\r\nend\r\nRETURN 0"
}
}
}