Vous êtes sur la page 1sur 3

'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 display graphics
'Identities: View1, View2, View3, View4.
HideGraphic("View"+StringFromIntg(i,1));
next;

'Show 1 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;

Customize the size of the graphic


graphicInfo.RelativeTo=aaGraphic.RelativeTo.CustomizedWidhHeight;
graphicInfo.Width=100;
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 is being clieked.


GetButtonText=Text;

'Hide all graphics before showing the new graphics.


dim i as integer;
for i=1 to 4
'Hide all displayd graphics.
'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;
'Customize the size of the graphic.
graphicInfo.RelativeTo=aaGraphic.RelativeTo.CustomizedWidthHeight;
graphicIngo.Width=499;
graphicInfo.Height=399;

'Customize the position of the graphic.


graphicInfo.WindowLocation=aaGraphic.WindowLocation.TopLeftCorner;
graphicInfo.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 integerl
for i=1 to 4
'Hide all displayed graphics.
'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.
graphicIngo.Identirt="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;

'Customize 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 is being clicked.


GetButtonText=Text;

'Hide all graphics before showing the new graphics.


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

'Show Mixer300 and Mixer400 DIsplay using ShowGraphic() function.


dim graphicInfo as aaGraphic.GraphicInfo;
for i=1 to 2
'Identities; View1,View2.
graphicIngo.Identirt="View"+StringFromIntg(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;

'Customize 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;

Vous aimerez peut-être aussi