Category Custom user interface, Object ProUIPushbutton

Function ProUIPushbuttonDisable


Description
Sets the Pushbutton to be disabled, so the user cannot select it.
Synopsis
#include <ProUIPushbutton.h>
ProErrorProUIPushbuttonDisable(
char* dialog
/* (In)
The name of the dialog that contains the pushbutton
*/
char* component
/* (In)
The name of the Pushbutton component
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed
PRO_TK_BAD_INPUTSAn invalid argument was given

Manual References:

  1. User Interface: Dialogs: Pushbutton Attributes

Sample Code References:

  1. pt_geardesign ( GearDesignUI.c )
  2. pt_geardesign ( GearDesignUI.c )
  3. pt_geardesign ( GearDesignUI.c )
  4. pt_geardesign ( GearDesignUI.c )
  5. pt_geardesign ( GearDesignUI.c )
  6. pt_geardesign ( GearDesignUI.c )
  7. pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
  8. pt_userguide ( UgCreoSweepCreate.c )
  9. pt_userguide ( UgCreoSweepCreate.c )
  10. pt_userguide ( UgUIVisibility.c )
  11. pt_userguide ( UgUtilUI.c )
  12. pt_userguide ( UgUtilUI.c )