10/2/2015 5:32 PM | |
Joined: 9/23/2005 Last visit: 1/24/2025 Posts: 4397 Rating: (1464)
|
“Simple Samples” are small projects that demonstrate simple features. The target is give a quick overview about the theme and be used as start point for related discussions. Follow there are a short description and the configuration main steps.
Description:
The graphical objects of a screen could be distributed in layers. It is possible do simplify / detailed screens by hiding / showing the layers (and their related objects).
By clicking on a button, an layer (and their related objects) will be showed / hided.
Requirements: WinCC Professional V13 SP1.
Configuration main steps:
Sub OnClick(ByVal item)
Layers.Item(1).Visible = Not Layers.Item(1).Visible
End Sub
TIPs: 1 – The argument of Layers.Iten corresponds to the layer number + 1. For example, Layers.Item(4).Visible corresponds to layer 3. 2 – Place the button on a different layer of the desired hidden objects (else the button will be hided and the layer could not be showed again).
References: Manual WinCC Professional V13.0 https://support.industry.siemens.com/cs/br/pt/view/92323076/en
Online helps system WinCC Professional V13.0 SP1 https://support.industry.siemens.com/cs/br/pt/view/109096785/en
FAQ Which VBS information and VBS programming tools are there in WinCC (TIA Portal)? https://support.industry.siemens.com/cs/br/pt/view/59885894/en
Tips and tricks for creating scripts in WinCC (TIA Portal) https://support.industry.siemens.com/cs/br/pt/view/57132412/en
Project: Due a size / format restrictions, the project are first compacted as data.zip. Attachmentdata.zip (337 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to4 thankful Users |
1/25/2017 4:14 AM | |
Joined: 11/10/2014 Last visit: 7/11/2023 Posts: 31 Rating: (0) |
Hi, Denilson Pegaia Any method to show/hide layers with Tia WinCC Advanced V14 for Runtime advance V14? Thanks |
Follow us on