Event Wait

? tab(-10, AG_EVENTWAIT); parentid; comma; tlid; comma; opcode; chr(127);

AG_EVENTWAIT (33) waits for an event, while allowing the focus to be moves around a set of buttons defined by the parentid and opcode parameters. The command is used internally by ATE for implementing the AUI_EVENTWAIT function, which should be used in applications rather than AG_EVENTWAIT directly.