F Francisco Gonzalez 1962 Member Licensed User Aug 17, 2019 #1 Hello, a newbie here: In my layout I have several Label views and EditText views to allow the user to input parameters, a SwiftButton View to trigger a calculation and a Label view to show one of the results of the calculation. So far so good, everything runs smoothly. Now I want to display the (double) elements of a 2D array that are another result of the calculation and I think that a B4XTable could be a good candidate to use here. As this array can be quite big I decided to insert everything in a ScrollView to allow the users to navigate scrolling thru the array's elements. Every Label view, EditText view and Button view is successfully removed for their parent view using RemoveView, but when doing so to the B4XTable, I get an error message: Code: Copy B4XTable1.RemoveView Unknown member: removeview Click to expand... Please can you help me? Cheers Francisco
Hello, a newbie here: In my layout I have several Label views and EditText views to allow the user to input parameters, a SwiftButton View to trigger a calculation and a Label view to show one of the results of the calculation. So far so good, everything runs smoothly. Now I want to display the (double) elements of a 2D array that are another result of the calculation and I think that a B4XTable could be a good candidate to use here. As this array can be quite big I decided to insert everything in a ScrollView to allow the users to navigate scrolling thru the array's elements. Every Label view, EditText view and Button view is successfully removed for their parent view using RemoveView, but when doing so to the B4XTable, I get an error message: Code: Copy B4XTable1.RemoveView Unknown member: removeview Click to expand... Please can you help me? Cheers Francisco
watesoft Active Member Licensed User Longtime User Aug 17, 2019 #2 https://www.b4x.com/android/forum/t...-panel-higher-than-the-screen.9539/#post52833 Attachments SV_big.zip SV_big.zip 8.5 KB · Views: 336 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 18, 2019 #3 B4XTable.mBase returns the base panel. You can call B4XTable1.mBase.RemoveViewFromParent. However you shouldn't put B4XTable inside ScrollView as B4XTable is made of a horizontal scroll view and you cannot nest scrollable views. You can use FlexibleTable which is vertically scrollable or something like: https://www.b4x.com/android/forum/t...ing-custom-navigation-buttons.102362/#content Upvote 0
B4XTable.mBase returns the base panel. You can call B4XTable1.mBase.RemoveViewFromParent. However you shouldn't put B4XTable inside ScrollView as B4XTable is made of a horizontal scroll view and you cannot nest scrollable views. You can use FlexibleTable which is vertically scrollable or something like: https://www.b4x.com/android/forum/t...ing-custom-navigation-buttons.102362/#content