A AHilton Active Member Licensed User Longtime User Jul 18, 2017 #1 Can the panes' title in the accordion views be changed after a loadlayout?
stevel05 Expert Licensed User Longtime User Jul 18, 2017 #2 You can get each pane from the Accordion.Panes List and change the title directly. B4X: Dim TP As TitledPane = Accordion1.Panes.Get(0) TP.Text = "New Title" Upvote 0
You can get each pane from the Accordion.Panes List and change the title directly. B4X: Dim TP As TitledPane = Accordion1.Panes.Get(0) TP.Text = "New Title"
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2017 #3 Note that Accordion.LoadLayout returns a TitledPane so you can also change it with: B4X: Dim tp As TitledPane = Accordion1.LoadLayout(...) tp.Text = "New Title" Upvote 0
Note that Accordion.LoadLayout returns a TitledPane so you can also change it with: B4X: Dim tp As TitledPane = Accordion1.LoadLayout(...) tp.Text = "New Title"