Industry Online Support
Technical Forum
10/27/2018 12:14 PM | |
Posts: 19 Rating: (13) |
How to set location for FacePate in WinCC Professional V15 at Runtime Example: [snip]
#include "GlobalDefinitions.h" void OnClick(char* screenName, char* objectName) { // Declares constants. const char* author = "Designed By Industrial Networks|Mobile: (+84).909.886.483|E-mail: hoangluu.automation@gmail.com"; const char* tagPrefix = "PUMP1"; const char* screenWindowTitle = "PUMP 01 CONTROL"; const char* screenWindowName = "swMotorControl"; const char* screenControl = "MOTOR_CONTROL"; const char* objectHeader = "lblCaption"; long int posX = 1000; long int posY = 310; // Calls function ShowFacePlateControl. ShowFacePlateControl(author, screenName, screenWindowName, screenWindowTitle, screenControl, tagPrefix, objectHeader, posX, posY); } AttachmentSetLocationForFacePlateInWinCCProfessionalV15.zip (220 Downloads) |
Last edited by: Jen_Moderator at: 10/29/2018 11:24:43 AMRemoved link and added file as an attachment. |
|
Follow us on