1/11/2013 10:34 AM | |
Joined: 3/14/2008 Last visit: 12/21/2024 Posts: 2156 Rating: (968) |
Hello PCS7 8.0 When clicking on the block icon, the faceplate opens. Whenselecting another screen, the faceplate closes. However, when clicking on a button, to jump to next screen, the faceplate stays visible. I want to close that. I already configured the following action on mousclick where "12_Schillijn.pdl" is the picture where the button is, and block icon is. where "@PG_UNIT_CTRL.pdl" is the custom generated faceplate where "@PG_UNIT_CTRL_Standard.pdl" is the custom generated standard window where "SCL_UNIT_CTRL/SCL" is the instance block icon name which is displayed when the faceplate is opened. As you can see,I tried several options... What is the proper method? so when using a @PG picture, what is defined as: lpszPictureName andwhat as:lpszObjectName? SetVisible("@PG_UNIT_CTRL.pdl","@PG_UNIT_CTRL_Standard.PDL",FALSE);//Return-Type: BOOL SetVisible("12_Schillijn.pdl","@PG_UNIT_CTRL.PDL",FALSE); SetVisible("12_Schillijn.pdl","@PG_UNIT_CTRL_Standard.pdl",FALSE); SetVisible("@PG_UNIT_CTRL.pdl","SCL_UNIT_CTRL/SCL",FALSE); SetVisible("12_Schillijn.pdl","SCL_UNIT_CTRL/SCL",FALSE); SetVisible("@PG_UNIT_CTRL_Standard.pdl","SCL_UNIT_CTRL/SCL",FALSE); |
If I could help you, you can use the RATE button. Thank you. |
|
1/15/2013 1:25 PM | |
Posts: 836 Rating: (100)
|
Hi, I guess you configured the picture change with the configuration dialog, didn't you? When you do so, the faceplate won't close, also you would not be able to jump back to the previous picture using the button set. You have to use a function called SSMChangeWorkField to change the picture, get the faceplate closed and be able of using the button set to get to the previous picture. Check on this FAQ where it is described. |
1/15/2013 7:51 PM | |
Joined: 3/14/2008 Last visit: 12/21/2024 Posts: 2156 Rating: (968) |
Jeez, And I was looking for something with: close faceplate, visable, deactivate picture etc. Ok, will check that function... Let ya know, thxx Oh, I just C-action
|
Last edited by: Oreca at: 1/15/2013 8:01 PMIf I could help you, you can use the RATE button. Thank you. |
|
Follow us on