11 lines
744 B
JSON
11 lines
744 B
JSON
{
|
|
"header": {
|
|
"version": 1,
|
|
"type": "record"
|
|
},
|
|
"body": {
|
|
"record1": {
|
|
"<1>": "declare function post_event, set_property, send_event, fieldcount\r\ndeclare subroutine forward_Event\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\t\r\nvoid = post_event( @window:'.SEQ', 'GOTFOCUS', '' )\r\nvoid = set_property( @window:'.SEQ', 'FOCUS', 1 )\r\nRETURN 0"
|
|
}
|
|
}
|
|
} |