Activating and Deactivating Function Codes
Within a status, functions can be active or inactive. Active functions are executable functions and inactive functions are not executable. You should deactivate a function if the mode of your application changes and the function is no longer available. For example, in view mode a function like delete would not be active.
If inactive functions are assigned to the application toolbar, the system does not display the function unless you have set the
fixed positions option for the application toolbar. In the standard toolbar, the system grays out inactive functions at runtime.
Inactive functions are grayed out in the menu. You can activate or deactivate menu options from within the Menu Painter. You can also deactivate functions at runtime. To find out more about dynamic deactivation, see
Deactivating a Function at Runtime You can activate or deactivate functions for:
- a single function in one status.
- several functions in one status (for example, after adopting a menu bar, application toolbar, or function key setting).
- single functions in more than one status in an application (for example, when you want to add new functions to a menu that is used more than once).
Procedure
To activate or deactivate a function code in the status work area of the Menu Painter:
Individual Functions
Position the cursor on the corresponding function in the function list.
Choose Extras ® Function Active <-> Inactive.
The function code and description are now displayed in a different color. The system has activated deactivated functions or deactivated active functions.
Several Functions
To activate several functions in the current status, select Extras ® Active functions in current status. The system displays a list of all functions used in the status.
You can now deactivate a set of functions by deselecting the corresponding checkbox. .
Choose Copy.
For Several Statuses
To activate several functions in the current status, choose Extras
®
Active functions in multiple statuses.
Enter a function code
Choose Continue.
The system generates a list showing all the statuses where the function is used.
Select the statuses in which you want to make the change.
Choose Copy.