Mashiane Expert Licensed User Longtime User Apr 1, 2018 #1 Hi there Whilst the SplitPane has a method to load a layout, e.g. 1..n Is there a way to actually remove a layout at a position e.g. 4 (to remove the fifth layout)? Ta!
Hi there Whilst the SplitPane has a method to load a layout, e.g. 1..n Is there a way to actually remove a layout at a position e.g. 4 (to remove the fifth layout)? Ta!
Erel B4X founder Staff member Licensed User Longtime User Apr 1, 2018 #2 Yes. B4X: Dim jo As JavaObject = SplitPane1 jo.RunMethodJO("getItems", Null).RunMethod("remove", Array(4)) Upvote 0
Yes. B4X: Dim jo As JavaObject = SplitPane1 jo.RunMethodJO("getItems", Null).RunMethod("remove", Array(4))
xulihang Active Member Licensed User Longtime User Sep 24, 2018 #3 B4X: Dim jo As JavaObject = upperRightSplitPane Dim SplitPaneItems As List = jo.RunMethod("getItems", Null) SplitPaneItems.RemoveAt(0) This works for me. Upvote 0
B4X: Dim jo As JavaObject = upperRightSplitPane Dim SplitPaneItems As List = jo.RunMethod("getItems", Null) SplitPaneItems.RemoveAt(0) This works for me.