UPDATE-COMMAND-STATUS Action

This document covers the following topics:


Description

A dialog automatically receives command-status events (unless suppressed) during idle processing when the status of one or more commands (signals, or menu items or tool bar items without a SAME-AS attribute) need to be updated. This action, however, allows the same updating logic to be triggered manually at any time, in addition to the automatic idle-time update.

Parameters

Name/Data Type Explanation
HANDLE OF GUI Input

Handle of the dialog or dialog element whose status is to be updated, or NULL-HANDLE. If a dialog handle is specified, all commands belonging to the specified dialog (excluding submenus and context menus) are included in the updating process. If a dialog element handle is specified, all commands belonging to the specified dialog element are included in the updating process. If NULL-HANDLE is specified, all commands in all dialogs (excluding submenus and context menus) are included in the updating process, as is the case for the implicit idle-time update.

Example:

 
PROCESS GUI ACTION UPDATE-COMMAND-STATUS WITH NULL-HANDLE 
GIVING #RESPONSE