AnsweredAssumed Answered

ProWindow parent

Question asked by Sherban on Sep 6, 2019
Latest reply on Sep 9, 2019 by gkmieliauskas_cellexp

I found that using the default constructor for a ProWindow will generate an object that has its Parent field null. This means using WindowStartupLocation on that object has no effect and the following code doesn't work

 

var wnd = new ProWindow();
wnd.WindowStartupLocation = WindowStartupLocation.CenterScreen;
wnd.Show();

 

Is there a way to create a ProWindow object that does have a reference to its parent? Is there an alternative to force WindowStartupLocation?

Outcomes