4/25/2016 11:15 AM | |
Posts: 75 Rating:
|
Unfortunately the methods BringToFront and SendToBack are only available in VBA and not in VBS |
4/25/2016 12:44 PM | |
Posts: 85 Rating:
|
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:
|
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: 7/31/2024 Posts: 1560 Rating:
|
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 (246 Downloads) |
Last edited by: SteBo at: 4/26/2016 7:48:42 AMB r g d s , |
|
This contribution was helpful to
1 thankful Users |
Follow us on