API Documentation > Creo Parametric user interface > Object ProCmd > Function ProCmdAlwaysAllowValueUpdate
Function ProCmdAlwaysAllowValueUpdate
Description
Allows the command's value to be updated (its set_value_cb to be called) at all times, even if the command is not currently accessible. By default, set_value_cb is called only if the command is accessible.
Synopsis
#include <ProUICmd.h>
ProCmdAlwaysAllowValueUpdate
(
uiCmdCmdId cmd_id
/* (In)
The command identifier.
*/
/* (In)
PRO_B_TRUE to always allow value update PRO_B_FALSE to only allow it when accessible
*/
)
Returns
The function successfully changed the command.
The function failed to change the command.
User Guide References
Was this helpful?