Is it possible to hide or move the Sprite library GameWindow? Sincerely, Max Tillberg
M Max Tillberg Member Licensed User Apr 5, 2009 #1 Is it possible to hide or move the Sprite library GameWindow? Sincerely, Max Tillberg
Erel B4X founder Staff member Licensed User Longtime User Apr 6, 2009 #2 Yes, with the help of the Door library. Main.gamewindow should match the name of your GameWindow object. obj is an Object object. B4X: obj.New1(False) obj.FromLibrary("Main.gamewindow", "_gw", B4PObject(2)) obj.SetProperty("Left", 20) obj.SetProperty("Top", 100) obj.SetProperty("Height", 50) obj.SetProperty("Width", 77) obj.SetProperty("Visible","false")
Yes, with the help of the Door library. Main.gamewindow should match the name of your GameWindow object. obj is an Object object. B4X: obj.New1(False) obj.FromLibrary("Main.gamewindow", "_gw", B4PObject(2)) obj.SetProperty("Left", 20) obj.SetProperty("Top", 100) obj.SetProperty("Height", 50) obj.SetProperty("Width", 77) obj.SetProperty("Visible","false")