Read-Only Attribute. *QUEUED EVENT returns a two-element string array in which the first element is the widget name (*NAME), and the second element is the event name from the triggered ON EVENT statement.
When queuing is on, it returns the oldest event specified by the "*EVENT WIDGET FILTER" and the "*EVENT WIDGET NAME" attributes, and removes that event from the queue. When queuing is on and none of the specified events are in the queue, NULL strings are returned.
When queuing is on and the queued event is "SYSTEM MENU", the string returned is actually "SYSTEM MENU:n", where n is the offset of the system menu item that generated the event.