43.3 IS_READ_ONLY Function
This function returns TRUE
if the current region is rendered read-only and FALSE
if not. If the function is called from a context where no region is currently processed, it returns NULL
. For example, you can use this function in conditions of a region or its underlying items and buttons.
Syntax
FUNCTION IS_READ_ONLY
RETURN BOOLEAN;
Parameters
None.
Example
This example returns TRUE
if the current region is rendered read-only and FALSE
if the region is not rendered read-only.
RETURN APEX_REGION.IS_READ_ONLY;
Parent topic: APEX_REGION