EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-05-13 11:00 PM . Last Modified: 2023-05-03 12:03 AM
I have an embedded list on mimc, wich shows links to Default view of the plants. Is it possible to open this links in new tab? Is it possible to link some controls to other tabs (for example - show position on map)? And is it possible to disable context menu, wich shows on click to list?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-05-17 07:48 AM . Last Modified: 2021-05-17 07:54 AM
Yes, you can add your own scripted menu to replace the standard object/list pick menus. Use the pick action wizard to attach a vbscript in the mimic to the list.
Your vbscript can determine the row information for the row which was clicked, so it can go to the correct destination. Script can build a popup menu of different items.
This script shows the properties available when you click a list:
sub ListClick1
MsgBox "Clicked:" & vbCRLF _
& "CurrentColIdx = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentColIdx & vbCRLF _
& "CurrentRowIdx = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentRowIdx & vbCRLF _
& "CurrentRowId = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentRowId & vbCRLF _
& "CurrentRowName = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentRowName & vbCRLF _
& "Current1stColDataStr = " & Mimic.Layers("New Layer").Item("Lst_1").Current1stColDataStr & vbCRLF _
& "Current1stColDataInt = " & Mimic.Layers("New Layer").Item("Lst_1").Current1stColDataInt
end sub
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-05-17 07:48 AM . Last Modified: 2021-05-17 07:54 AM
Yes, you can add your own scripted menu to replace the standard object/list pick menus. Use the pick action wizard to attach a vbscript in the mimic to the list.
Your vbscript can determine the row information for the row which was clicked, so it can go to the correct destination. Script can build a popup menu of different items.
This script shows the properties available when you click a list:
sub ListClick1
MsgBox "Clicked:" & vbCRLF _
& "CurrentColIdx = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentColIdx & vbCRLF _
& "CurrentRowIdx = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentRowIdx & vbCRLF _
& "CurrentRowId = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentRowId & vbCRLF _
& "CurrentRowName = " & Mimic.Layers("New Layer").Item("Lst_1").CurrentRowName & vbCRLF _
& "Current1stColDataStr = " & Mimic.Layers("New Layer").Item("Lst_1").Current1stColDataStr & vbCRLF _
& "Current1stColDataInt = " & Mimic.Layers("New Layer").Item("Lst_1").Current1stColDataInt
end sub
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.