cphChangeEditMode
cphChangeEditMode(
g_cphID
t_newMode
)
=> t / nil
Description
Changes the physConfig from edit mode to the specified mode. If switching to read mode, r, and the physConfig has changed since the last edit, a prompt for saving or discarding the edits displays.
Arguments
|
The mode in which the physConfig open for editing needs to be reopened. |
Value Returned
|
Successfully changed the edit mode of the physical configuration view. |
|
|
The edit mode of the physical configuration view could not be changed. |
Example
For the specified layout cellview ID, the physical configuration view is changed to Read mode (r).
cph = cphGetLayoutXLConfig(layoutCVId)
cphChangeEditMode(cph "r")
Return to top