nibbo Active Member Licensed User Longtime User Sep 9, 2016 #1 Is there a list of methods available in the B4A wrappers anywhere? The reason I ask is that I would like to be able to invoke a spinner when the panel it is embedded in is clicked. I tried guessing based on some other code I had seen... Code: Copy Dim jo As JavaObject = spinnerName jo.RunMethod("show",Null) but that gave an error java.lang.RuntimeException: Method: show not found in: anywheresoftware.b4a.objects.SpinnerWrapper$B4ASpinner Anyone know what method I should use to make the spinner options show; if it is possible that is. Thanks
Is there a list of methods available in the B4A wrappers anywhere? The reason I ask is that I would like to be able to invoke a spinner when the panel it is embedded in is clicked. I tried guessing based on some other code I had seen... Code: Copy Dim jo As JavaObject = spinnerName jo.RunMethod("show",Null) but that gave an error java.lang.RuntimeException: Method: show not found in: anywheresoftware.b4a.objects.SpinnerWrapper$B4ASpinner Anyone know what method I should use to make the spinner options show; if it is possible that is. Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2016 #2 You can use this code to open the spinner: https://www.b4x.com/android/forum/threads/spinner-button-click.17195/#post-98503 The native Spinner documentation: https://developer.android.com/reference/android/widget/Spinner.html Upvote 0
You can use this code to open the spinner: https://www.b4x.com/android/forum/threads/spinner-button-click.17195/#post-98503 The native Spinner documentation: https://developer.android.com/reference/android/widget/Spinner.html
nibbo Active Member Licensed User Longtime User Sep 11, 2016 #3 Erel said: You can use this code to open the spinner: https://www.b4x.com/android/forum/threads/spinner-button-click.17195/#post-98503 The native Spinner documentation: https://developer.android.com/reference/android/widget/Spinner.html Click to expand... Thanks Erel, perfect Upvote 0
Erel said: You can use this code to open the spinner: https://www.b4x.com/android/forum/threads/spinner-button-click.17195/#post-98503 The native Spinner documentation: https://developer.android.com/reference/android/widget/Spinner.html Click to expand... Thanks Erel, perfect