Рет қаралды 3,612
Unified Comfort Panelde Faceplate objesinin nasıl kullanılacağını göstermektedir.
Global definition:
const faceplate = [];
Script Area:
export function Graphic_view_1_OnTapped(item, x, y, modifiers, trigger) { let containerno = Faceplate.Parent.Name.split(""); let i = Number(containerno[1]); let Title = Faceplate.Parent.Name; let left = 50; let top = 50; if (faceplate[i]){ faceplate[i].Close(); } faceplate[i] = Faceplate.OpenFaceplateInPopup("DetayFaceplate_V_0_0_5", Title, false, false); faceplate[i].WindowFlags = 91; faceplate[i].Left = Faceplate.Parent.Left+left; faceplate[i].Top = Faceplate.Parent.Top+top; faceplate[i].Adaption = 2; }_