Spin Gadget Numeric Step Option

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Spin Gadget Numeric Step Option

Post by IdeasVacuum »

Current Gadget: Result = SpinGadget(#Gadget, x, y, Width, Height, Minimum, Maximum [, Flags])
Suggested: Result = SpinGadget(#Gadget, x, y, Width, Height, Minimum, Maximum [,Step] [, Flags])

When the gadget is used for an integer range, Step could be optionally specified

E.g. Minimum = 0, Maximum = 100, Step = 5

This can be currently achieved by checking for SpinGadget up/down events and imposing a step change.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
mestnyi
Addict
Addict
Posts: 1098
Joined: Mon Nov 25, 2013 6:41 am

Re: Spin Gadget Numeric Step Option

Post by mestnyi »

+1
Post Reply