open-insight/LSL2/OIEVENT/CREATE/AC_SRPT1..json
2024-03-25 15:12:53 -07:00

11 lines
615 B
JSON

{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function security_check, center_window\r\ndeclare subroutine end_dialog, security_err_msg\r\n$insert security_rights_equ\r\n\r\nif index( CreateParam, 'CENTER', 1 ) then\r\n void = center_window( @window )\r\nend else\r\n Void = set_property( @window, 'VISIBLE', 1 )\r\nend\r\n\r\nif security_check( 'Annual Contracts', Print$ ) else\r\n security_err_msg( 'Annual Contracts', Print$ )\r\n end_dialog( @window, 'CANCEL' )\r\nend\r\nRETURN 0"
}
}
}