Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

WinBinder Manual/wb set range

Sets the valid range of values (vmin and vmax) of a control.

Syntax

bool wb_set_range (int control, int vmin, int vmax)
  • What is set depends on the class of control.


Class Function sets
<winterpostwiki>Gauge</winterpostwiki> the start and end-point.
<winterpostwiki>ScrollBar</winterpostwiki> min and max possible moving area.
<winterpostwiki>Slider</winterpostwiki> min and max values.
<winterpostwiki>Spinner</winterpostwiki> min and max values.


Returns

Returns TRUE on success or FALSE if an error occurs.


See also

Winbinder Projects