Magma Expert Licensed User Longtime User Aug 10, 2017 #1 Hi there... is it possible to disable a pane of accordion ?
Erel B4X founder Staff member Licensed User Longtime User Aug 10, 2017 #2 Yes: B4X: Sub SetCollapsible(tp As TitledPane, collapsible As Boolean) Dim jo As JavaObject = tp jo.RunMethod("setCollapsible", Array(collapsible)) End Sub B4X: SetCollapsible(Accordion1.Panes.Get(1), False) Upvote 0
Yes: B4X: Sub SetCollapsible(tp As TitledPane, collapsible As Boolean) Dim jo As JavaObject = tp jo.RunMethod("setCollapsible", Array(collapsible)) End Sub B4X: SetCollapsible(Accordion1.Panes.Get(1), False)