<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Apple iPhone 6</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>667</PageWidth>
	<PageHeight>375</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\sinli\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>
	<Components>
		<FunctionList name="Subroutines"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<Listbox id="Listbox1">
							<left>410px</left>
							<top>20px</top>
							<width>230px</width>
							<height>290px</height>
							<items>[items]</items>
							<variable>[selected]</variable>
							<multi_select>False</multi_select>
						</Listbox>
						<PushButton id="PushButton1">
							<left>20px</left>
							<top>20px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Add items</caption>
							<click>CreateEmptyArray [items]
.Separate the display text from the value using a pipe character: |
ArrayAddItem [items] &quot;One|Option1&quot;
ArrayAddItem [items] &quot;Two|Option2&quot;
ArrayAddItem [items] &quot;Three|Option3&quot;
ArrayAddItem [items] &quot;Four|Option4&quot;
ArrayAddItem [items] &quot;Five|Option5&quot;
ArrayAddItem [items] &quot;Six|Option6&quot;
ArrayAddItem [items] &quot;Seven|Option7&quot;</click>
						</PushButton>
						<PushButton id="PushButton3">
							<left>20px</left>
							<top>70px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Delete First Item</caption>
							<click>ArrayDelItem [items] 0</click>
						</PushButton>
						<PushButton id="PushButton4">
							<left>210px</left>
							<top>320px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Add new item</caption>
							<click>ArrayAddItem [items] &quot;[itemtext]|[itemvalue]&quot;</click>
						</PushButton>
						<PushButton id="PushButton2">
							<left>20px</left>
							<top>120px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Delete Last Item</caption>
							<click>ArrayLen [items] [totalitems]
SetVar [lastitem] [totalitems]-1
ArrayDelItem [items] [lastitem]</click>
						</PushButton>
						<PushButton id="PushButton5">
							<left>20px</left>
							<top>170px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Delete Selected Item</caption>
							<click>ListBoxGetSelectedIndex &quot;Listbox1&quot; [selectedindex]
ArrayDelItem [items] [selectedindex]</click>
						</PushButton>
						<TextInput id="TextInput1">
							<left>20px</left>
							<top>320px</top>
							<width>80px</width>
							<height>40px</height>
							<variable>[itemtext]</variable>
							<place_holder>Item text</place_holder>
						</TextInput>
						<TextInput id="TextInput2">
							<left>110px</left>
							<top>320px</top>
							<width>90px</width>
							<height>40px</height>
							<variable>[itemvalue]</variable>
							<place_holder>Item value</place_holder>
						</TextInput>
						<Headline id="Headline1">
							<left>410px</left>
							<top>330px</top>
							<width>230px</width>
							<height>30px</height>
							<text>[selected]</text>
							<kind>h4</kind>
						</Headline>
						<PushButton id="PushButton6">
							<left>210px</left>
							<top>20px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Sort items</caption>
							<click>ArrayAlphaSort [items]</click>
						</PushButton>
						<PushButton id="PushButton7">
							<left>210px</left>
							<top>70px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Suffle items</caption>
							<click>ArraySuffle [items] [items]</click>
						</PushButton>
						<PushButton id="PushButton8">
							<left>210px</left>
							<top>120px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Move selected item up</caption>
							<click>ListBoxGetSelectedIndex &quot;Listbox1&quot; [selectedindex]
If [selectedindex] &gt; 0
  SetVar [temp] [items([selectedindex])]
  SetVar [items([selectedindex])] [items([selectedindex]-1)]
  SetVar [items([selectedindex]-1)] [temp]
EndIf</click>
						</PushButton>
						<PushButton id="PushButton9">
							<left>210px</left>
							<top>170px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Move selected item down</caption>
							<click>ListBoxGetSelectedIndex &quot;Listbox1&quot; [selectedindex]
SetVar [selectedindex] [selectedindex]+1
ArrayLen [items] [totalitems]
If [selectedindex] &lt; [totalitems]
  SetVar [temp] [items([selectedindex])]
  SetVar [items([selectedindex])] [items([selectedindex]-1)]
  SetVar [items([selectedindex]-1)] [temp]
EndIf</click>
						</PushButton>
						<PushButton id="PushButton10">
							<left>20px</left>
							<top>220px</top>
							<width>180px</width>
							<height>40px</height>
							<caption>Delete All Items</caption>
							<click>CreateEmptyArray [items]</click>
						</PushButton>
					</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>667px</width>
							<height>375px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
