<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<DesignDeviceName>Desktop</DesignDeviceName>
	<Variables>[conLeft],[contHeight],[conTop],[contWidth],[t1],[t2]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>1280</PageWidth>
	<PageHeight>800</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<LanguageCode>en</LanguageCode>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>drawBox

move

setContainer</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="move">
					<Code>let show = 0;

// key up key down function
//you can change to any key here by change number 17 to right number key you need

window.addEventListener(&quot;keydown&quot;, function(event) {

         if (event.keyCode == 17) {



         $scope.ShowObject(&quot;Container2&quot;,&quot;&quot;,0);
         $scope.ObjectToFront (&quot;Container2&quot;);

    }
}, false);

window.addEventListener(&quot;keyup&quot;, function(event) {

        if (event.keyCode == 17) {



        $scope.HideObject(&quot;Container2&quot;,&quot;&quot;,0);



    }
}, false);

/////////////////////////////////////////////////////////////////////////////////////////
var getContX;
var getContY;
var setContX;
var setContY;
var mousePosition;
var offset = [0,0];
var div = Container2
var isDown = false;


Container2.addEventListener(&apos;mousedown&apos;, function(e) {

  x = e.offsetX;
  y = e.offsetY;
  
  getContX = neo3dGetTranslation(&quot;Container1&quot;,&quot;x&quot;);
  getContY = neo3dGetTranslation(&quot;Container1&quot;,&quot;y&quot;);


    isDown = true;
    offset = [
        getContX - e.clientX,
        getContY - e.clientY

    ];
}, true);

Container2.addEventListener(&apos;mouseup&apos;, function() {
    isDown = false;
}, true);

Container2.addEventListener(&apos;mousemove&apos;, function(event) {
    event.preventDefault();
    if (isDown) {
        mousePosition = {

            x : event.clientX,
            y : event.clientY

        };
        setContX = (mousePosition.x + offset[0]);
        setContY  = (mousePosition.y + offset[1]);
        neo3dTranslateAxis(&quot;Container1&quot;,setContX,&quot;x&quot;);
        neo3dTranslateAxis(&quot;Container1&quot;,setContY,&quot;y&quot;);
    }
}, true);

/////////////////////////////////////////////////////////////////////////////////////</Code>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
				<Function name="setContainer">
					<Code>.function to put mask container under main container and match their sizes


GetObjectInfo &quot;Container1&quot; &quot;height&quot; [contHeight]

GetObjectInfo &quot;Container1&quot; &quot;width&quot; [contWidth]

SizeObject &quot;Container2&quot; [contWidth] [contHeight]

...

GetObjectInfo &quot;Container1&quot; &quot;top&quot; [conTop]

GetObjectInfo &quot;Container1&quot; &quot;left&quot; [conLeft]

MoveObject &quot;Container2&quot; [conLeft] [conTop]

...

GetObjectHTML &quot;Container1&quot; [t2]

GetObjectHTML &quot;Container2&quot; [t1]

SetObjectHTML &quot;Container2&quot; &quot;[t2]&quot;</Code>
				</Function>
				<Function name="drawBox">
					<Code>neo3dInitialize &quot;Container1&quot; 1

neo3dEnableDrag &quot;Container1&quot;

neo3dDrawBox &quot;Container1&quot; &quot;el1&quot; &quot;&quot; &quot;&quot; &quot;50&quot; &quot;50&quot; &quot;50&quot; &quot;red&quot; &quot;red&quot; &quot;red&quot; &quot;red&quot; &quot;red&quot; &quot;red&quot;</Code>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<Container id="Container2">
							<left>710px</left>
							<top>141px</top>
							<width>346px</width>
							<height>350px</height>
							<style>background-color:#DE2100;border-style:solid;border-width:1px;opacity:0.11</style>
							<click>move</click>
						</Container>
						<Container id="Container1">
							<left>28px</left>
							<top>138px</top>
							<width>540px</width>
							<height>600px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
						</Container>
						<Headline id="Headline1">
							<left>74px</left>
							<top>75px</top>
							<width>243px</width>
							<height>35px</height>
							<style>font-size:12pt</style>
							<text>click ctrl to enable drag move</text>
						</Headline>
						<Headline id="Headline2">
							<left>725px</left>
							<top>80px</top>
							<width>337px</width>
							<height>51px</height>
							<style>font-size:12pt</style>
							<text>you can make it any size and of the table. but keep it visible and enable</text>
						</Headline>
						<Headline id="Headline3">
							<left>62px</left>
							<top>33px</top>
							<width>365px</width>
							<height>87px</height>
							<text>main container</text>
						</Headline>
						<Headline id="Headline4">
							<left>736px</left>
							<top>29px</top>
							<width>365px</width>
							<height>50px</height>
							<text>mask&amp;nbsp;container</text>
						</Headline>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>1280px</width>
							<height>800px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
