<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<DesignDeviceName>Desktop</DesignDeviceName>
	<Variables>[currentRecord],[recordId],[recordName],[recordSurname],&quot;[tableData([currentRecord]) (&apos;id&apos;)]&quot;,&quot;[tableData([currentRecord]) (&apos;name&apos;)]&quot;,&quot;[tableData([currentRecord]) (&apos;surname&apos;)]&quot;,[tableData([currentRecord])(&apos;id&apos;)],[tableData],[totalRecords],[val1],[val2]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>800</PageWidth>
	<PageHeight>600</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>
	<OrientationLimit>OL_LANDSCAPEONLY</OrientationLimit>
	<ChromeKioskMode>False</ChromeKioskMode>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="parseData">
					<Code>CreateEmptyArray [tableData]
SetVar [tableData] [data]
ArrayLen [tableData] [totalRecords]
SetVar [currentRecord] 0
SetVar [recordId] [tableData([currentRecord]) (&apos;id&apos;)]
SetVar [recordName] [tableData([currentRecord]) (&apos;name&apos;)]
SetVar [recordSurname] [tableData([currentRecord]) (&apos;surname&apos;)]</Code>
					<Params>[data]|STRING|Data from database</Params>
				</Function>
				<Function name="ListBoxAddItemFixed">
					<Code>$(&quot;#&quot;+objId).append(&apos;&lt;option value=&quot;&quot;&gt;&lt;/option&gt;&apos;);
$(&quot;#&quot;+objId+&quot; option:last&quot;).text(thetext);
$(&quot;#&quot;+objId+&quot; option:last&quot;).val(thevalue);</Code>
					<Params>objId|OBJID|Select ListBox Object;thetext|STRING|Text;thevalue|STRING|Value</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<PushButton id="PushButton1">
							<left>9px</left>
							<top>561px</top>
							<width>181px</width>
							<height>31px</height>
							<caption>OPEN DATABASE</caption>
							<kind>primary</kind>
							<click>neoPhpExecSql &quot;db1&quot; &quot;loadTable&quot; &quot;&quot; &quot;parseData&quot;</click>
						</PushButton>
						<PushButton id="PushButton2">
							<left>215px</left>
							<top>561px</top>
							<width>181px</width>
							<height>31px</height>
							<caption>INSERT DATA</caption>
							<kind>info</kind>
							<click>neoPhpExecSql &quot;db1&quot; &quot;insertData&quot; &quot;[val1]::[val2]&quot; &quot;parseData&quot;
neoPhpExecSql &quot;db1&quot; &quot;loadTable&quot; &quot;&quot; &quot;parseData&quot;</click>
						</PushButton>
						<PushButton id="PushButton3">
							<left>421px</left>
							<top>561px</top>
							<width>181px</width>
							<height>31px</height>
							<caption>DELETE DATA</caption>
							<kind>danger</kind>
							<click>neoPhpExecSql &quot;db1&quot; &quot;deleteData&quot; &quot;[tableData([currentRecord])(&apos;id&apos;)]&quot; &quot;parseData&quot;</click>
						</PushButton>
						<PushButton id="PushButton4">
							<left>737px</left>
							<top>559px</top>
							<width>50px</width>
							<height>30px</height>
							<caption>&gt;&gt;</caption>
							<click>If [currentRecord] &lt; [totalRecords]-1
  SetVar [currentRecord] [currentRecord]+1
EndIf
SetVar [recordId] [tableData([currentRecord]) (&apos;id&apos;)]
SetVar [recordSurname] [tableData([currentRecord]) (&apos;surname&apos;)]
SetVar [recordName] [tableData([currentRecord]) (&apos;name&apos;)]</click>
						</PushButton>
						<PushButton id="PushButton5">
							<left>675px</left>
							<top>559px</top>
							<width>50px</width>
							<height>30px</height>
							<caption>&lt;&lt;</caption>
							<click>If [currentRecord] &gt; 0
  SetVar [currentRecord] [currentRecord]-1
EndIf
SetVar [recordId] [tableData([currentRecord]) (&apos;id&apos;)]
SetVar [recordSurname] [tableData([currentRecord]) (&apos;surname&apos;)]
SetVar [recordName] [tableData([currentRecord]) (&apos;name&apos;)]</click>
						</PushButton>
						<Container id="Container1">
							<left>29px</left>
							<top>43px</top>
							<width>242px</width>
							<height>117px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[recordId]&lt;br&gt;&lt;br&gt;
            [recordSurname]&lt;br&gt;&lt;br&gt;
            [recordName]</html>
						</Container>
						<TextInput id="TextInput1">
							<left>96px</left>
							<top>492px</top>
							<width>180px</width>
							<height>30px</height>
							<variable>[val1]</variable>
						</TextInput>
						<TextInput id="TextInput2">
							<left>286px</left>
							<top>492px</top>
							<width>180px</width>
							<height>30px</height>
							<variable>[val2]</variable>
						</TextInput>
						<Container id="Container2">
							<left>18px</left>
							<top>173px</top>
							<width>764px</width>
							<height>219px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[totalRecords]&lt;br&gt;&lt;br&gt;
[currentRecord]&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
[tableData]</html>
						</Container>
						<Combobox id="Combobox1">
							<left>593px</left>
							<top>467px</top>
							<width>176px</width>
							<height>37px</height>
							<variable>[selected]</variable>
							<multi_select>False</multi_select>
							<change>ListBoxGetSelectedItem &quot;Combobox1&quot; [selected]</change>
						</Combobox>
						<PushButton id="PushButton6">
							<left>24px</left>
							<top>399px</top>
							<width>181px</width>
							<height>31px</height>
							<caption>SELECT NAME ROW</caption>
							<kind>primary</kind>
							<click>neoPhpExecSql &quot;db1&quot; &quot;loadBox&quot; &quot;&quot; &quot;parseData&quot;</click>
						</PushButton>
						<PushButton id="PushButton7">
							<left>592px</left>
							<top>416px</top>
							<width>176px</width>
							<height>32px</height>
							<caption>Populate ComboBox</caption>
							<click>Loop 0 [totalRecords] [counter]
      SetVar [recordName] [tableData([counter]) (&apos;name&apos;)]
      ListBoxAddItemFixed &quot;Combobox1&quot; &quot;[recordName]&quot; &quot;[recordName]&quot;
EndLoop</click>
						</PushButton>
						<Container id="Container3">
							<left>592px</left>
							<top>512px</top>
							<width>176px</width>
							<height>32px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[selected]</html>
						</Container>
					</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>800px</width>
							<height>600px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
