API 文档
>
Custom user interface
>
Object ProUISpinbox
> Function ProUISpinboxIntegerSet
Function ProUISpinboxIntegerSet
Description
Sets the value of a spin box whose value type is integer
Synopsis
#include <
ProUISpinbox.h
>
ProError
ProUISpinboxIntegerSet
(
char* dialog
/* (In)
The name of the dialog that contains the spin box
*/
char* spinbox
/* (In)
The name of the spin box component
*/
int value
/* (In)
The integer value
*/
)
Returns
PRO_TK_NO_ERROR
The function was successful
PRO_TK_GENERAL_ERROR
The function failed
Sample Code References
pt_geardesign ( GearDesignUI.c )
User Guide References
Spinbox Attributes:ProUISpinboxIntegerSet
Parent topic
Object ProUISpinbox
这对您有帮助吗?
此站点在 JavaScript 启用时工作最佳