Assigns a format string to a number box.


  1. bOk = gui.setNumberBoxFormatString ( hComponent, sFormatString )


Format strings determine how the number will be displayed in the box when it is longer, bigger, smaller etc. than expected. sFormatString follows the c-style sprint rules and needs to contain at least a %d, but the precision will be ignored. If you want a precision of 2, you will have to set %.2d


hComponent - valid GUI component handle
sFormatString - format string

Return values

bOk - true on success

Available since ShiVa 2.0