Dev, the editable spinners are textboxes with spinner that only have the buttons visible as you said. It shouldn't be a problem to make it into a single gadget for the next version :)
Combo boxes can already have a set number of items visible before a scroll bar appears:
mycombobox = ComboBox( 10, 10, 100, 20, 16, 3 )
The first 4 parameters are X, Y, W, H.. the 4th parameter is the item height, and the 5th parameter is the number of items a combo box will display before a scrollbar is added.
There's no built-in method of returning the index of a certain item unfortunately.
For a GadgetPushed() you could do something like:
tempbtn.Button = Object.Button( mybutton )
if tempbtn\State =-2
;gadget is being pushed down
endif
Combo boxes can already have a set number of items visible before a scroll bar appears:
mycombobox = ComboBox( 10, 10, 100, 20, 16, 3 )
The first 4 parameters are X, Y, W, H.. the 4th parameter is the item height, and the 5th parameter is the number of items a combo box will display before a scrollbar is added.
There's no built-in method of returning the index of a certain item unfortunately.
For a GadgetPushed() you could do something like:
tempbtn.Button = Object.Button( mybutton )
if tempbtn\State =-2
;gadget is being pushed down
endif