Alex Prinias asked 2016-06-01 08:55:22 UTC
Hi,
Wisej controls have a very useful reference to their hosting Window (Form) with a FindForm() method. However, if a control is hosted in a Page (and not a Form) there is no equivalent FindPage() method.
Initilally I thought that since only one page is visible at a time, we may not need such a method, and replace it with the Application.MainPage property. However, an application might have more than one Pages, and different sessions of the application may show different pages on a certain moment. So I don't know what Application.MainPage would return to those different sessions.
Am I missing something?
Best,
Alex
Alex Prinias asked 2016-06-01 08:55:22 UTC
Hi,
Wisej controls have a very useful reference to their hosting Window (Form) with a FindForm() method. However, if a control is hosted in a Page (and not a Form) there is no equivalent FindPage() method.
Initilally I thought that since only one page is visible at a time, we may not need such a method, and replace it with the Application.MainPage property. However, an application might have more than one Pages, and different sessions of the application may show different pages on a certain moment. So I don't know what Application.MainPage would return to those different sessions.
Am I missing something?
Best,
Alex