Mar 23, 2020 Hello Forum, in this Example i want to show you, how to use the ASTabMenu togehther with the xCustomListView, to handle a lot of Tabs without getting into layout problems. Attached is a B4A Example. Result: How to use? it is easy. Add a xCustomListView to the form Add a new Form with only the ASTabMenu inside create a dummy panel in code, in this example the width of the xcustomlistview * 2 to have 2 times more space: B4X: Copy Dim xpnl_horizontal As B4XView = xui.CreatePanel("") xpnl_horizontal.SetLayoutAnimated(0,0,0,xclv_horiontal.GetBase.Width * 2,xclv_horiontal.GetBase.Height) xpnl_horizontal.LoadLayout("frm_tabmenu_1") xclv_horiontal.Add(xpnl_horizontal,"") Load the ASTaBMenu Layout to this panel Add the panel to the xCustomListView Finish Have Fun Attachments B4A Example with xCustomListView.zip B4A Example with xCustomListView.zip 7.8 KB · Views: 1,388 Last edited: Jul 14, 2022 Click to expand...
Hello Forum, in this Example i want to show you, how to use the ASTabMenu togehther with the xCustomListView, to handle a lot of Tabs without getting into layout problems. Attached is a B4A Example. Result: How to use? it is easy. Add a xCustomListView to the form Add a new Form with only the ASTabMenu inside create a dummy panel in code, in this example the width of the xcustomlistview * 2 to have 2 times more space: B4X: Copy Dim xpnl_horizontal As B4XView = xui.CreatePanel("") xpnl_horizontal.SetLayoutAnimated(0,0,0,xclv_horiontal.GetBase.Width * 2,xclv_horiontal.GetBase.Height) xpnl_horizontal.LoadLayout("frm_tabmenu_1") xclv_horiontal.Add(xpnl_horizontal,"") Load the ASTaBMenu Layout to this panel Add the panel to the xCustomListView Finish Have Fun