New tab with itemmaster data
Paul Witmond
Hello,I'm trying to create a new tab on the item master
This is my code
SwissAddonFramework.UI.Components.Folder f2 = SwissAddonFramework.UI.Components.Folder.CreateNew("COR_F2");
f2.Top=10;f2.Width=140;f2.Left=10;f2.Height=14;
f2.Value = "Test";
f2.AffectsFormMode = false;
SwissAddonFramework.UI.Components.Grid grid = SwissAddonFramework.UI.Components.Grid.CreateNew("COR_Grd1");
grid.FromPane = 99;
grid.ToPane = 99;
grid.SetSizeAndPosition(SwissAddonFramework.UI.Components.Matrix.GetFromUID(pVal.Form,"150"));
pVal.Form.AddItem(f2);
pVal.Form.AddItem(grid);
pVal.Form.Update();
f2.GroupWith("4");
My problem is the "groupwith". I'm trying to find out where to find the numbers but i have no idea
138 seems to be the sales order but the menu id =139
150 is the menu id for the items
Please help
Regards,
Paul :bang:
Manuel Marhold
Hi.you have to group you new folder with one of the existing folder, best the last of them (rigth one).
And don't forget to bind the folder to an DataSource!
0
Please sign in to leave a comment.
Comments
0 comments