DetachedWindow.WindowStartupLocation
property · DetachedWindow · cAlgo.API
DesktopCLICloud
Get / Set the window startup location
Environment behaviour
CLI — not supported. Values start at 0 and are only stored in the algo; no window is read or changed.
Cloud — not supported. Values start at 0 and are only stored in the algo; no window is read or changed.
Definition
WindowStartupLocation WindowStartupLocation {get; set;}
detachedWindow.WindowStartupLocation: WindowStartupLocation
Returns WindowStartupLocation
Examples
var block = Asp.SymbolTab.AddBlock("Signals");
block.DetachedWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
Print("Detached window startup location: {0}", block.DetachedWindow.WindowStartupLocation);
block = api.Asp.SymbolTab.AddBlock("Signals")
block.DetachedWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner
api.Print(f"Detached window startup location: {block.DetachedWindow.WindowStartupLocation}")