Kkula
Browse Questions » WinCC Unified Systems: Entry Towards the size property From a popup Within the Template

About User

Questions Asked: 29.3K

Answers Given: 0

0
  • Open

WinCC Unified Systems: Entry Towards the size property From a popup Within the Template

hi
I need help finding an alternative function that I need to enable for WinCC Unified v18.
I need access to the size property of a popup. I am using "OpenFaceplateInPopup"
 
export function pb_pu_OnTapped(item, x, y, modifiers, trigger) {
let po = Faceplate.OpenFaceplateInPopup("popUp_szChange_V_0_0_6", "title", true, false);
po.Left = 100;
po.Top = 150;
po.Width = 300;
po.Height = 300;
po.Adaption = 1;
//Po.WindowFlags = 19;
po.Visible = true;
}
 
the problem is that calling the height and width functions does not work using this program syntax.
my intention is to adjust faceplate size on popup opening according to another process variable. For that I need to have access to this parameter. If anyone has a possible solution I would be very grateful.
Daniel Nunes

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(0)