Dec 20, 2018 Replies: 3 This is a simple spinner for B4j (though it would easily port to B4a) based on a canvas object. I 'looks' more like the spinners used in B4A than the combobox offering in B4J The Spinner continuously rotates around the string array data provided and outputs the center value as an 'answer' on each mouse click. The background image size needs to be scaled to match the cvs size you use. I'm sure this can be improved on...... Attachments Spinner-B4J.zip Spinner-B4J.zip 2.3 KB · Views: 559 Click to expand...
This is a simple spinner for B4j (though it would easily port to B4a) based on a canvas object. I 'looks' more like the spinners used in B4A than the combobox offering in B4J The Spinner continuously rotates around the string array data provided and outputs the center value as an 'answer' on each mouse click. The background image size needs to be scaled to match the cvs size you use. I'm sure this can be improved on......
R rodmcm Active Member Licensed User Longtime User Jan 7, 2019 #2 Updated as a class as well as incorporated some additional learnings Attachments B4JSpinner as Class.zip B4JSpinner as Class.zip 6.8 KB · Views: 535
R rodmcm Active Member Licensed User Longtime User Jan 7, 2019 #4 Two samples using attached images in zip