Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84547members
353802posts

List object on Mimic

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.

Solved
IgorSivakov
Lieutenant
Lieutenant
0 Likes
1
558

List object on Mimic

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?


Accepted Solutions
sbeadle
Janeway Janeway
Janeway

Re: List object on Mimic

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

 

 

See Answer In Context

1 Reply 1
sbeadle
Janeway Janeway
Janeway

Re: List object on Mimic

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