Mar 27, 2019 Replies: 4 After all the work I went through to make the simple pie graph, I noticed I had 90% of the code to make a "Fan Menu" type library so I went ahead and created the following prototype: I don't have the time to create a full-fledged/featured library for this control, so I figured I would upload the basic framework so anyone can run with it or use it as a basic menu example project. The library is 100% B4A and requires only the XUI and Reflection libraries. It is pretty simple and doesn't have much (if anything) in the way of error trapping/parameter validation. If anyone wants to build on this (for example, additional blade rings for "sub menus" or wants to add touch effects for item selection such as wave ping/color change etc.) feel free to upload your modified examples here. Attachments fan_menu.zip fan_menu.zip 221 KB · Views: 1,232 Click to expand...
After all the work I went through to make the simple pie graph, I noticed I had 90% of the code to make a "Fan Menu" type library so I went ahead and created the following prototype: I don't have the time to create a full-fledged/featured library for this control, so I figured I would upload the basic framework so anyone can run with it or use it as a basic menu example project. The library is 100% B4A and requires only the XUI and Reflection libraries. It is pretty simple and doesn't have much (if anything) in the way of error trapping/parameter validation. If anyone wants to build on this (for example, additional blade rings for "sub menus" or wants to add touch effects for item selection such as wave ping/color change etc.) feel free to upload your modified examples here.
JMB Active Member Licensed User Longtime User Jun 1, 2019 #2 This is great. Can't believe no-one has played with this code. I started playing with it tonight - added this line inside the btnReset_click function to make the fans different colours. Code: 'Set the color to a random color poItem.BackColor = Colors.ARGB(255,Rnd(0,255),Rnd(0,255),Rnd(0,255)) Not much, but it makes it look pretty! JB
This is great. Can't believe no-one has played with this code. I started playing with it tonight - added this line inside the btnReset_click function to make the fans different colours. Code: 'Set the color to a random color poItem.BackColor = Colors.ARGB(255,Rnd(0,255),Rnd(0,255),Rnd(0,255)) Not much, but it makes it look pretty! JB
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2019 #4 No. This is an Android library, not JavaFX.