Documentação da API
>
Custom user interface
>
Object ProUIPushbutton
> Function ProUIPushbuttonEnable
Function ProUIPushbuttonEnable
Description
Sets the Pushbutton to be enabled.
Synopsis
#include <
ProUIPushbutton.h
>
ProError
ProUIPushbuttonEnable
(
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_ERROR
The function was successful
PRO_TK_GENERAL_ERROR
The function failed
PRO_TK_BAD_INPUTS
An invalid argument was given
Sample Code References
pt_geardesign ( GearDesignUI.c )
pt_geardesign ( GearDesignUI.c )
pt_geardesign ( GearDesignUI.c )
pt_geardesign ( GearDesignUI.c )
pt_geardesign ( GearDesignUI.c )
pt_geardesign ( GearDesignUI.c )
pt_udf_examples ( PTUDFExUDFPlacementDashboard.c )
pt_userguide ( UgCreoSweepCreate.c )
pt_userguide ( UgUIVisibility.c )
pt_userguide ( UgUtilUI.c )
User Guide References
Pushbutton Attributes:ProUIPushbuttonEnable
Parent topic
Object ProUIPushbutton
Isto foi útil?
Este site funciona melhor com JavaScript habilitado