4/25/2016 11:15 AM | |
Posts: 75 Rating: (19) |
Unfortunately the methods BringToFront and SendToBack are only available in VBA and not in VBS |
4/25/2016 12:44 PM | |
Posts: 85 Rating: (0) |
When compiling I have no error, But on RT it says An error occured in the Script Please have a look at Attatched photo |
4/25/2016 1:27 PM | |
Posts: 75 Rating: (19) |
Details of the difference between VBA and VBS you'll find in WinCC Scripting Manual. Link for download is WinCC V7.3 Scripting Manual |
4/26/2016 7:47 AM | |
Joined: 10/3/2010 Last visit: 10/31/2024 Posts: 1563 Rating: (192) |
As said above by others, your code contains VBA code which is only meant for developping screens. This won't work in Runtime where VBscript is used. Please find attached a possible solution working with layers instead. Alternative solutions are possible too. AttachmentWCC_TabsWithLayers.zip (273 Downloads) |
Last edited by: SteBo at: 4/26/2016 7:48:42 AMB r g d s , |
|
This contribution was helpful to1 thankful Users |
Follow us on