Category Creo Parametric user interface, Object ProCmd

Function ProCmdRadiogrpValueGet


Description
Gets a value of the radio group in the menu of Creo Parametric. This function should be executed in the option_cb specified by ProCmdOptionAdd().

This function affects the top-level Creo Parametric Ribbon UI only.

Synopsis
#include <ProUICmd.h>
ProErrorProCmdRadiogrpValueGet(
uiCmdValue* cmd_value
/* (In)
The second argument of the option_cb function
*/
ProCmdItemName selected_item
/* (Out)
The name of the selected item in the radio group
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the value.
PRO_TK_GENERAL_ERRORThe function failed to return the value.

Manual References:

  1. User Interface: Menus, Commands, and Popupmenus: Adding a Radio Button Group to the Ribbon
  2. User Interface: Menus, Commands, and Popupmenus: Adding a Radio Button Group to the Ribbon
  3. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0