F Firpas Active Member Licensed User Longtime User Apr 11, 2016 #1 Is it possible to add a resizable anchorpane at run time? I tried this code but anchorpane not resized with the form B4X: Dim Pnl as AnchorPane Pnl.Initialize("") MainForm.RootPane.AddNode(Pnl, 0, 0, MainForm.RootPane.Width, MainForm.RootPane.Height) Pnl.SetAnchors(MainForm.RootPane, 0, 0, 0, 0) Pnl.LoadLayout("Layout1") Thanks in advance EDIT SOLVED SORRY MY MISTAKE Last edited: Apr 11, 2016
Is it possible to add a resizable anchorpane at run time? I tried this code but anchorpane not resized with the form B4X: Dim Pnl as AnchorPane Pnl.Initialize("") MainForm.RootPane.AddNode(Pnl, 0, 0, MainForm.RootPane.Width, MainForm.RootPane.Height) Pnl.SetAnchors(MainForm.RootPane, 0, 0, 0, 0) Pnl.LoadLayout("Layout1") Thanks in advance EDIT SOLVED SORRY MY MISTAKE