fgh3966 Active Member Licensed User Yesterday at 9:39 PM #1 Good evening. As you can see in the image, I would like to enable or disable buttons—setting them to a "true" (active) or "false" (inactive) state—much like standard buttons. There is already a "click" function, and I would like to add a "drag" (slide) function. Is there a specific function or an example available for this?Would the approach described at this link be suitable? B4A Class Thread '[B4X] [XUI] AS ButtonSlider V1.0' Mar 20, 2019 First, i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high quality view cost a lot of time. If you want to support me, then you can do it here by Paypal. another week and a new AS View with B4X it is too easy to create custom views! Tested on B4J and B4A, on B4A it has a bug if you slide too fast, i will fix it soon. 2 Years ago I dreamed of such a view like this, but I failed to create it. But now after 1h of work, i do it. AS ButtonSlider Author: Alexander Stolte Version: 1.01 ... Thank you. Attachments Capture du 2026-11-11 22-07-41.png 7.1 KB · Views: 3
Good evening. As you can see in the image, I would like to enable or disable buttons—setting them to a "true" (active) or "false" (inactive) state—much like standard buttons. There is already a "click" function, and I would like to add a "drag" (slide) function. Is there a specific function or an example available for this?Would the approach described at this link be suitable? B4A Class Thread '[B4X] [XUI] AS ButtonSlider V1.0' Mar 20, 2019 First, i spend a lot of time in creating views, some views i need by my self, but some views not and to create a high quality view cost a lot of time. If you want to support me, then you can do it here by Paypal. another week and a new AS View with B4X it is too easy to create custom views! Tested on B4J and B4A, on B4A it has a bug if you slide too fast, i will fix it soon. 2 Years ago I dreamed of such a view like this, but I failed to create it. But now after 1h of work, i do it. AS ButtonSlider Author: Alexander Stolte Version: 1.01 ... Thank you.