7/31/2009 10:35 AM | |
Joined: 9/27/2007 Last visit: 12/18/2020 Posts: 993 Rating:
|
Hi I did not find the property to gray out, but you can deactivate the function of the button with the property "ToolbarButtonActive" or can make the button unvisible with the property "ToolbarButtonVisible". Before you set this properties you have to set the property "ToolbarButtonId" at the rigth button-id. Here an expamle to make the next-page-button unvisible in VBS: Dim obj Set obj = HMIRuntime.ActiveScreen.ScreenItems("Control3") obj.ToolbarButtonId = 38 obj.ToolbarButtonVisible = False regards cumulus |
Learn more about visualization - visit the HMI courses of Siemens AG! |
|
Follow us on