VBA in FTV v7-9 Display Switches

Agentbill008

Member
Join Date
Mar 2018
Location
Minnesota
Posts
6
Can you help me with the following? I know when creating an expression using the "display" command I can use different switches to cause the display to behave in different ways. For example, If I want the display to dock at the bottom of the FTVSE client window I type "display /db" minus the quotes. In my case I want a display to pop up given a specific event and I want it to display as a banner at the bottom of the window and resize the window so the entire HMI is still showing. Would the following be the correct syntax?

Private Sub NumericDisplay7_Change()
If NumericDisplay7.Value = 1 Then
ExecuteCommand "display /DB 00TSG_Alarm"
End If

End Sub

Thank you in advance for your help.
 

Similar Topics

Hi Guys, Just a quick question. I can't seem to be able to change the display names in vba. All my screens (in VBA) are named...
Replies
5
Views
4,221
Anybody know of a complete (or relatively complete) resource for VBA functions available to FTV SE? I know there are specific functions and...
Replies
6
Views
1,602
Dear SIR , We are having some problem regarding VBA code for FTV 8.10. We had a project in which we had to convert the old SCADA RSVIEW 32 with...
Replies
0
Views
1,686
I’m trying to disable a button after a popup is opened using VBA. It works and the button looks disabled but I can keep clicking the button until...
Replies
5
Views
2,176
Back
Top Bottom