Question

4
Replies
53
Views
Close popover
Tanya Filstein (TanyaKFil)
The Hartford Financial Services Group Inc
Tech Lead
The Hartford Financial Services Group Inc
US
TanyaKFil Member since 2018 6 posts
The Hartford Financial Services Group Inc
Posted: February 13, 2020
Last activity: February 28, 2020
Closed

Centering Pega Window Form on the Web Window

I need to show the Wndows Form that contains some warning message on top and at the center of the Web Page:

Goal

 

Windows Form is a Pega item that I created via Pega Robotics Studio

Web Page is  Adapters.Web.Controls.WebPage control

I have tried to use WindowsForm.Show(owner), setting Web Window instance as an forms owner, but studio did not allow me to "draw" the blue line from This to owner in the last step.

Even more, the form sometimes is hidden under the WebPage, so the TopMost property is not working consistently . 

Code

 

Can you please suggest the technique to display windows form on top and center of the web page?

 

I attached small project with this this example.

 

Pega Robotic Desktop Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.