Category Custom user interface, Object ProUISpinbox

Function ProUISpinboxDigitsSet


Description
Sets the number of digits displayed in a spin box. If the value type is integer, this is the total number of digits. If the value type is double, it is the number of digits after the decimal point.
Synopsis
#include <ProUISpinbox.h>
ProErrorProUISpinboxDigitsSet(
char* dialog
/* (In)
The name of the dialog that contains the spin box
*/
char* spinbox
/* (In)
The name of the spin box component
*/
int digits
/* (In)
The number of digits
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful
PRO_TK_GENERAL_ERRORThe function failed

Manual References:

  1. User Interface: Dialogs: Spinbox Attributes