Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

' Get the text from this button when it is being clicked

GetButtonText=Text;

'Hide all graphics before showing the new graphics.


dim i as integer;
for i=1 to 4
' Hide all displayed graphics
'identities : ( View1,View2,View3,View4.
HideGraphic ( "View" + StringFromIntg(i,1));
next;

'Show mixer display using ShowGraphic() function


dim graphicInfo as aaGraphic.GraphicInfo;
graphicInfo.Identity="View1";
graphicInfo.GraphicName="Mixer100.SwitchedDisplay";

'Customize the look and feel of the graphic


graphicInfo.HasTitleBar=false;
graphicInfo.HasCloseButton=false;

'Customise the size of the graphic


GraphicInfo.RelativeTo = aaGraphic.RelativeTo.CustomizedWidthHeight;
graphicInfo.Width=1000;
graphicInfo.Height=799;

'Customize the position of the graphic.


graphicInfo.WindowLocation=aaGraphic.WindowLocation.TopLeftCorner;
graphicInfo.WindowRelativePosition=
aaGRaphic.WindowRelativePosition.ClientAreaXY;
graphicInfo.X=0;
graphicInfo.Y=-800;

'Show graphic
ShowGraphic ( graphicInfo );

-----------------------------------------------------------------------------------
-------

'Get the text from this button when it being clicked


GetButtonText=Text;

'Hide all graphics before showing the new graphics.


dim i as integer;
for i=1 to 4
'identities: View1,View2,View3,View4.
HideGraphic("View"+StringFromIntg(i,1));
next;

'Show 4 mixer display using ShowGraphic() function.


dim graphicInfo as aaGraphic.GraphicInfo;
for i=1 to 4
'Identities: View1,View2,View3,View4.
graphicInfo.Identity="View"+StringFromIntg(i,1);
graphicInfo.GraphicName="Mixer"+StringFromIntg(i,1) + "00.Display";

'Customize the look and feel of the graphic.


graphicInfo.HasTitleBar=false;
graphicInfo.HasCloseButton=false;
'Customise the size of the graphic.
GRaphicINfo.RelativeTo=aaGraphic.RElativeTo.CustomizedWidthHeight;
graphicInfo.Width=499;
graphicInfo.Height=399;

'Customize the position of the graphic


graphicInfo.WindowLocation=aaGraphic.WindowLocation.TopLeftCorner;
graphicInfo.WindowRelativePosition=
aaGraphic.WindowRElativePosition.ClientAreaXY;
if (i==1) then
graphicInfo.X=0;
graphicInfo.Y=-800;
elseif (i==2) then
graphicInfo.X=500;
graphicInfo.Y=-800;
elseif (i==3) then
graphicInfo.X=0;
graphicInfo.Y=-400;
elseif (i==4) then
graphicInfo.X=500;
graphicInfo.Y=-400;
endif;

'Show graphic.
ShowGraphic(graphicInfo);
next;

------------------------------------------------------------------------

'Get the text from this button when it being clicked


GetButtonText=Text;

'Hide all graphics before showing the new graphics.


dim i as integer;
for i=1 to 4
'identities: View1,View2,View3,View4.
HideGraphic("View"+StringFromIntg(i,1));
next;

'Show Mixer100 and Mixer200 Display using ShowGRaphic() function.


dim graphicInfo as aaGraphic.GraphicInfo;
for i=1 to 2
'Identities: View1,View2.
graphicInfo.Identity="View"+StringFromIntg(i,1);
graphicInfo.GraphicName="Mixer"+StringFromIntg(i,1) + "00.Display";

'Customize the look and feel of the graphic.


graphicInfo.HasTitleBar=false;
graphicInfo.HasCloseButton=false;

'Customise the size of the graphic.


GRaphicINfo.RelativeTo=aaGraphic.RElativeTo.CustomizedWidthHeight;
graphicInfo.Width=499;
graphicInfo.Height=799;

'Customize the position of the graphic


graphicInfo.WindowLocation=aaGraphic.WindowLocation.TopLeftCorner;
graphicInfo.WindowRelativePosition=
aaGraphic.WindowRElativePosition.ClientAreaXY;
if (i==1) then
graphicInfo.X=0;
graphicInfo.Y=-800;
elseif (i==2) then
graphicInfo.X=500;
graphicInfo.Y=-800;
endif;

'Show graphic.
ShowGRaphic(graphicInfo);
next;

-----------------------------------------------------------------------------------
----

'Get the text from this button when it being clicked


GetButtonText=Text;

'Hide all graphics before showing the new graphics.


dim i as integer;
for i=1 to 4
'identities: View1,View2,View3,View4.
HideGraphic("View"+StringFromIntg(i,1));
next;

'Show Mixer300 and Mixer400 Display using ShowGRaphic() function.


dim graphicInfo as aa Graphic.GraphicInfo;
for i=1 to 2
'Identities: View1,View2.
graphicInfo.Identity="View"+StringFrom Intg(i,1);
graphicInfo.GraphicName="Mixer"+StringFromIntg(i+2,1) + "00.Display";

'Customize the look and feel of the graphic.


graphicInfo.HasTitleBar=false;
graphicInfo.HasCloseButton=false;

'Customise the size of the graphic.


GRaphicINfo.RelativeTo=aaGraphic.RElativeTo.CustomizedWidthHeight;
graphicInfo.Width=499;
graphicInfo.Height=799;

'Customize the position of the graphic


graphicInfo.WindowLocation=aaGraphic.WindowLocation.TopLeftCorner;
graphicInfo.WindowRelativePosition=
aaGraphic.WindowRElativePosition.ClientAreaXY;
if (i==1) then
graphicInfo.X=0;
graphicInfo.Y=-800;
elseif (i==2) then
graphicInfo.X=500;
graphicInfo.Y=-800;
endif

'Show graphic.
ShowGRaphic(graphicInfo);
next;

----------------------------------------------------------------------------
'Get the text from this button when it being clicked
GetButtonText=Text;

'Hide all graphics before showing the new graphics.


dim i as integer;
for i=1 to 4
'identities: View1,View2,View3,View4.
HideGraphic("View"+StringFromIntg(i,1));
next;

'Show 4 HeatEx display using ShowGraphic() function.


dim graphicInfo as aaGraphic.GraphicInfo;
for i=1 to 4
'Identities: View1,View2,View3,View4.
graphicInfo.Identity="View"+StringFromIntg(i,1);
graphicInfo.GraphicName="HeatEx"+StringFromIntg(i,1) + "00.Display";

'Customize the look and feel of the graphic.


graphicInfo.HasTitleBar=false;
graphicInfo.HasCloseButton=false;

'Customise the size of the graphic.


GRaphicINfo.RelativeTo=aaGraphic.RElativeTo.CustomizedWidthHeight;
graphicInfo.Width=499;
graphicInfo.Height=399;

'Customize the position of the graphic


graphicInfo.WindowLocation=aaGraphic.WindowLocation.TopLeftCorner;
graphicInfo.WindowRelativePosition=
aaGraphic.WindowRElativePosition.ClientAreaXY;
if (i==1) then
graphicInfo.X=0;
graphicInfo.Y=-800;
elseif (i==2) then
graphicInfo.X=500;
graphicInfo.Y=-800;
elseif (i==3) then
graphicInfo.X=0;
graphicInfo.Y=-400;
elseif (i==4) then
graphicInfo.X=500;
graphicInfo.Y=-400;
endif;

'Show graphic.
ShowGRaphic(graphicInfo);
next;

----------------------------------------------------------------------------

'Get the text from this button when it is being clicked


GEtButtonText=Text;

'Hide all graphics before showing the new graphics.


dim i as integer;
for i = 1 to 4
'Hide all displayed graphics/
'Identities" View1,View2,View3,View4.
HideGRaphic("View"+StringFromIntg(i,1));
next;

-----------------------------------------------------------------------------------
----
'Set the text for CloseAll button
GetButtonTExt=CloseAll_Btn.Text;

----------------------------------------------------------------------------------
'Hide all graphics after the symbol itself being closed or hidden.
dim i as integer;
for i = 1 to 4
'Hide all displaed graphics.
'Identities: View1,View2,View3,View4.
HideGraphic ("View" + StringFromIntg(i,1));
next;

'Set the text for CloseAll button


GetButtonText=CloseAll_Btn.Text;

-----------------------------------------------------------------------------------
--

You might also like