<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Samsung Galaxy Tab 7</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>1024</PageWidth>
	<PageHeight>600</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>True</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>D:\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<ThemeColor>#000000</ThemeColor>
	<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>setvar [grabados] 0</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="dragstart">
					<Code>neoDragGetPositionX &quot;obarrastre&quot; [xpos]
neoDragGetPositionY &quot;obarrastre&quot; [ypos]
Refresh
AlertBox &quot;Drag Start&quot; &quot;Dragging has started [xpos] [ypos]&quot; &quot;&quot;</Code>
				</Function>
				<Function name="ondropsuccess">
					<Code>.SetVar [num] [num]+1
SetVar [message] &quot;Correctly dropped: [object1] into [object2]&quot;
Refresh</Code>
					<Params>[object1]|STRING|Draggable object;[object2]|STRING|Drop object</Params>
				</Function>
				<Function name="ondropfail">
					<Code>SetVar [message] &quot;Incorrectly dropped: [object1]&quot;
Refresh</Code>
					<Params>[object1]|STRING|Draggable object</Params>
				</Function>
				<Function name="parseData">
					<Code>CreateEmptyArray [arrayData]
setvar [arrayData][data]
ArrayLen [arrayData][total]
setvar [CurrentRecord] 0
setvar [id][arrayData([CurrentRecord]).id]
setvar [pregunta][arrayData([CurrentRecord]).pregunta]
setvar [runo][arrayData([CurrentRecord]).runo]
setvar [rdos][arrayData([CurrentRecord]).rdos]
setvar [rtres][arrayData([CurrentRecord]).rtres]
setvar [rcuatro][arrayData([CurrentRecord]).rcuatro]
setvar [correcta][arrayData([CurrentRecord]).correcta]
setvar [mcorrecta][arrayData([CurrentRecord]).mcorrecta]
. chequeo
setvar [mmal][arrayData([CurrentRecord]).mmal]
.AlertBox &quot;Total&quot; &quot;[total] - [grabados]&quot; &quot;&quot;
neoDragSetEvents &quot;obarrastre&quot; &quot;arrastre&quot; &quot;&quot; &quot;&quot;
.arrastre</Code>
					<Params>[data]|STRING|Recibidas del servidor</Params>
				</Function>
				<Function name="arrastre">
					<Code>slDraggableInit &quot;obarrastre&quot; &quot;both&quot; &quot;&quot; 0 0 &quot;&quot;
slDraggableSetDropObject &quot;obarrastre&quot; &quot;droprcuatro&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;
slDraggableSetDropObject &quot;obarrastre&quot; &quot;dropruno&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;
slDraggableSetDropObject &quot;obarrastre&quot; &quot;droprdos&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;
slDraggableSetDropObject &quot;obarrastre&quot; &quot;droprtres&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;

AlertBox &quot;Variables&quot; &quot;Correcta: [correcta]&quot; &quot;&quot;

If [correcta] == 4
   slDraggableSetDropObject &quot;obarrastre&quot; &quot;droprcuatro&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;
Endif
If [correcta] == 1
  slDraggableSetDropObject &quot;obarrastre&quot; &quot;dropruno&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;
Endif
If [correcta] == 2
  slDraggableSetDropObject &quot;obarrastre&quot; &quot;droprdos&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;
Endif
If [correcta] == 3
  slDraggableSetDropObject &quot;obarrastre&quot; &quot;droprtres&quot; &quot;center&quot; &quot;ondropsuccess&quot; &quot;ondropfail&quot;
Endif
</Code>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<style>overflow-x:hidden;overflow-y:hidden</style>
					<pageenter>neoPhpExecSql &quot;db1&quot; &quot;select&quot; &quot;&quot; &quot;parseData&quot;</pageenter>
					<Components>
						<Container id="Container2">
							<left>643px</left>
							<top>559px</top>
							<width>352px</width>
							<height>24px</height>
							<style>background-color:#fff</style>
							<html>[message]</html>
						</Container>
						<Container id="droprtres">
							<left>504px</left>
							<top>280px</top>
							<width>492px</width>
							<height>111px</height>
							<style>background-color:#fff;border-style:solid;border-width:1px;padding-left:5px;padding-top:5px</style>
							<html>[rtres]</html>
						</Container>
						<Container id="dropruno">
							<left>504px</left>
							<top>16px</top>
							<width>492px</width>
							<height>111px</height>
							<style>background-color:#fff;border-style:solid;border-width:1px;padding-left:5px;padding-top:5px</style>
							<html>[runo]</html>
						</Container>
						<Container id="droprdos">
							<left>504px</left>
							<top>140px</top>
							<width>492px</width>
							<height>125px</height>
							<style>background-color:#fff;border-style:solid;border-width:1px;padding-left:5px;padding-top:5px</style>
							<html>[rdos]</html>
						</Container>
						<Container id="droprcuatro">
							<left>504px</left>
							<top>414px</top>
							<width>492px</width>
							<height>111px</height>
							<style>background-color:#fff;border-style:solid;border-width:1px;padding-left:5px;padding-top:5px</style>
							<html>[rcuatro]</html>
						</Container>
						<Container id="obarrastre">
							<left>30px</left>
							<top>275px</top>
							<width>466px</width>
							<height>121px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
						</Container>
						<Container id="Container1">
							<left>30px</left>
							<top>140px</top>
							<width>463px</width>
							<height>127px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[pregunta]</html>
						</Container>
						<SVGicon id="SVGicon2">
							<left>9px</left>
							<top>552px</top>
							<width>51px</width>
							<height>41px</height>
							<style>fill:#00082F;stroke:black;stroke-width:1px</style>
							<icon>svgArrowAltCircleRight</icon>
							<click>SetVar [CurrentRecord] [CurrentRecord]+1
If [grabados] &gt;= [total]
   SetVar [CurrentRecord] [CurrentRecord]-1
   AlertBox &quot;Muy Bien !&quot; &quot;Haz Terminado !&quot; &quot;&quot;
   Refresh
Else
  If [CurrentRecord] &gt;= [total]
    setvar [CurrentRecord] [CurrentRecord]-1
  EndIf
  setvar [id][arrayData([CurrentRecord]).id]
  setvar [pregunta][arrayData([CurrentRecord]).pregunta]
  setvar [runo][arrayData([CurrentRecord]).runo]
  setvar [rdos][arrayData([CurrentRecord]).rdos]
  setvar [rtres][arrayData([CurrentRecord]).rtres]
  setvar [rcuatro][arrayData([CurrentRecord]).rcuatro]
  setvar [correcta][arrayData([CurrentRecord]).correcta]
  setvar [mcorrecta][arrayData([CurrentRecord]).mcorrecta]
  setvar [mmal][arrayData([CurrentRecord]).mmal]
  slDraggableSetPosition &quot;obarrastre&quot; &quot;30&quot; &quot;275&quot;
  slDraggableEnable &quot;obarrastre&quot;
  Refresh
  neoDragSetEvents &quot;obarrastre&quot; &quot;arrastre&quot; &quot;&quot; &quot;&quot;
.  arrastre
Endif</click>
						</SVGicon>
					</Components>
				</Page>
				<Page id="vacia">
					<pageenter>setvar [grabados] [grabados]+1
GotoPage &quot;NewPage&quot;</pageenter>
				</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>1024px</width>
							<height>600px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
