mrossen Active Member Licensed User Longtime User Dec 12, 2019 #1 Hi I am trying to make at panel with a scroll there is hidden until I hit at button. I haver tried this, but the scroll are not workin and it seems like the panel are laying over my page. B4X: PanelHelpMain.Initialize("") Activity.AddView(PanelHelpMain, 10%x, 10%y, 80%x, 80%y) PanelHelpMain.LoadLayout("clvhelp") Dim fr3_xui As XUI Dim fr3_pnl As B4XView = fr3_xui.CreatePanel("") fr3_pnl.color = Colors.Transparent fr3_pnl.SetLayoutAnimated(400, 0, 0, 100%x, 720dip) CLVHelp.add(fr3_pnl, Activity) fr3_pnl.LoadLayout("help") fr3_pnl.Height = 720dip PanelHelpMain.Visible = False Am I going in the wrong direction? Mogens
Hi I am trying to make at panel with a scroll there is hidden until I hit at button. I haver tried this, but the scroll are not workin and it seems like the panel are laying over my page. B4X: PanelHelpMain.Initialize("") Activity.AddView(PanelHelpMain, 10%x, 10%y, 80%x, 80%y) PanelHelpMain.LoadLayout("clvhelp") Dim fr3_xui As XUI Dim fr3_pnl As B4XView = fr3_xui.CreatePanel("") fr3_pnl.color = Colors.Transparent fr3_pnl.SetLayoutAnimated(400, 0, 0, 100%x, 720dip) CLVHelp.add(fr3_pnl, Activity) fr3_pnl.LoadLayout("help") fr3_pnl.Height = 720dip PanelHelpMain.Visible = False Am I going in the wrong direction? Mogens
Erel B4X founder Staff member Licensed User Longtime User Dec 12, 2019 #2 I'm not sure that I understand the layout that you are trying to create. Can you post a screenshot? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 13, 2019 #4 Best way it to use B4XDialog with the long text template. Upvote 0