BlitzUI - Finished and Free

Miscellaneous Forums/Blitz Showcase/BlitzUI - Finished and Free

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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