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

11 lines
636 B
JSON

{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare subroutine forward_event\r\ndeclare function fieldcount, set_property\r\n\r\nforward_event()\r\nAllControls = utility( 'OBJECTLIST', @window, '' )\r\nAcnt = fieldcount( AllControls, @fm ) \r\nfor 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\nnext i \r\nRETURN 0"
}
}
}