Cableguy Expert Licensed User Longtime User Dec 31, 2016 #1 Hi guys... Am i right in assuming a that a TabPane tab can only be created using the "loadLayout" method? Is it possible to create a tab by code, and add views to the tabpage? HOW!!!???
Hi guys... Am i right in assuming a that a TabPane tab can only be created using the "loadLayout" method? Is it possible to create a tab by code, and add views to the tabpage? HOW!!!???
stevel05 Expert Licensed User Longtime User Dec 31, 2016 #2 I haven't done it for a while, but if memory serves, create a new TabPage and add it to the TabPane. You can then add Nodes using TabPage.Content to get it's pane. Code: Copy Dim TP As TabPage TP.Initialize TP.Text = "TabName" TabPane.Tabs.Add(TP) TP.Content.AddNode( .......) Upvote 0
I haven't done it for a while, but if memory serves, create a new TabPage and add it to the TabPane. You can then add Nodes using TabPage.Content to get it's pane. Code: Copy Dim TP As TabPage TP.Initialize TP.Text = "TabName" TabPane.Tabs.Add(TP) TP.Content.AddNode( .......)