Hello all,
I try to solve a navigation problem or better said two:
1. in the attached image, I draw how it should work, hope it is clear somebody has an idea. In fact I try to close an included mimic with a specific branch and open the same included mimic within the same parent, but with another branch.
2. I try to open a "list" of mimic (like above, which include themselve included mimics) depending on the user. So there is a file in TP, where the list of mimic, per user is defined. This file I open on login (better said the header) and open all mimics (one mimic, with different branches) in a "list" in the workspace. Every Mimic is 500px in the height.
Problem is, that it seems to be, that over SCADA Basic, there is no possibility to open a mimic with a specific position. As it is a WebVue Project, VBA cannot be used.
Hi Johannes,
Nice picture 🙂
Syntax 5 of Windows instruction doesn't fit your need?
IntVal=WINDOW("OPEN", Child, ChildBranch, Parent, ParentBranch, dX, dY);
hi,
if you are speaking about point 2, no, because I do not open included mimics.
Or do you think I can use it also for non included mimics.
Point 1.
Open the Included mimic by Scada Basic. Store the branch in an internal variable. Then you know which one you have to close before opening a new one.
You could also the new Window mode that has been implemented recently to list in Scada Basic all mimics openened. Here you can find your Included mimic to close before opening a new one. Check with Anna how to use this new mode.
Point 2.
WINDOW("MAIN", X, Y, Width, Height);
Should work for you...
Nico
Hi,
all Problem could be solved:
1. By using Window("GetCollection") and by comparing the parent-branches
2. The function IntVal=WINDOW("OPEN", Child, ChildBranch, Parent, ParentBranch, dX, dY); brought the solution, by not specifying a parent (name and branch).



