MrKim Well-Known Member Licensed User Longtime User Jan 7, 2024 #1 The following code works in B4A but the tag property is cleared in B4J (B4i I haven't tested): B4X: RejectPnl = xui.CreatePanel("") Root.AddView(RejectPnl, 0, 0, Root.Width, Root.Height) RejectPnl.Tag = "RejNote" RejectPnl.LoadLayout("RejectNote") I solved the problem by: B4X: RejectPnl = xui.CreatePanel("") Root.AddView(RejectPnl, 0, 0, Root.Width, Root.Height) RejectPnl.LoadLayout("RejectNote") RejectPnl.Tag = "RejNote" but it took me quite a while to find the problem because the code was initially written and debugged in B4A.
The following code works in B4A but the tag property is cleared in B4J (B4i I haven't tested): B4X: RejectPnl = xui.CreatePanel("") Root.AddView(RejectPnl, 0, 0, Root.Width, Root.Height) RejectPnl.Tag = "RejNote" RejectPnl.LoadLayout("RejectNote") I solved the problem by: B4X: RejectPnl = xui.CreatePanel("") Root.AddView(RejectPnl, 0, 0, Root.Width, Root.Height) RejectPnl.LoadLayout("RejectNote") RejectPnl.Tag = "RejNote" but it took me quite a while to find the problem because the code was initially written and debugged in B4A.
Erel B4X founder Staff member Licensed User Longtime User Jan 7, 2024 #2 Confirmed. In B4i it works as in B4A. It will be fixed.