B4J Question [SOLVED] Is it possible to disable a pane of accordion ?

Erel

B4X founder
Staff member
Licensed User
Longtime User
Yes:

SS-2017-08-10_16.21.26.png


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
Top