<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>GenericPhone</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>320</PageWidth>
	<PageHeight>480</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\sinli\OneDrive\Documentos\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>OfflineCopyOfPages</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<PwaScope>/</PwaScope>
	<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>
						<Form id="Form2">
							<left>5px</left>
							<top>10px</top>
							<width>309px</width>
							<height>330px</height>
							<style>background-color:#E0E0E0;border-color:#A8A8A8;border-style:solid;border-width:1px</style>
							<action>install.php</action>
							<method>POST</method>
							<enctype>fdefault</enctype>
							<submit>.clear old data
DeleteVar [ReturnStatus]
DeleteVar [AjaxData]

.validate the form and return true to submit or false to cancel
IsVarEmpty [adminName] [Empty]
If [Empty] = true
  .user didn&apos;t enter a first name, so display error and cancel submission
  jsAlert &quot;You must enter a admin name.&quot;
  FocusObject &quot;adminNameInput&quot;
  .return false to cancel submission
  Return false
EndIf

IsVarEmpty [adminPass] [Empty]
If [Empty] = true
  .user didn&apos;t enter a last name, so display error and cancel submission
  jsAlert &quot;You must enter a password.&quot;
  FocusObject &quot;adminPassInput&quot;
  Return false
EndIf

.if we get here, everything is OK so return true to submit the form
SetVar [AjaxData] &quot;Waiting for server...&quot;
Return true</submit>
							<success>.success event passes in two parameters
.[data] = information returned by server
.[status] = status code returned by server (200=OK)

SetVar [ReturnStatus] [Status]
SetObjectHTML &quot;ContainerData&quot; [Data]</success>
							<fail>.fail event passes in two parameters
.[data] = information returned by server - usually an error message in html
.[status] = status code returned by server (440,etc.)

SetVar [ReturnStatus] [Status]
SetObjectHTML &quot;ContainerData&quot; [Data]</fail>
							<Components>
								<TextInput id="adminNameInput">
									<left>10px</left>
									<top>40px</top>
									<width>290px</width>
									<height>40px</height>
									<prop_name>adminName</prop_name>
									<variable>[adminName]</variable>
									<max_length>30</max_length>
								</TextInput>
								<TextInput id="adminPassInput">
									<left>10px</left>
									<top>110px</top>
									<width>290px</width>
									<height>40px</height>
									<prop_name>adminPass</prop_name>
									<variable>[adminPass]</variable>
									<max_length>30</max_length>
								</TextInput>
								<Paragraph id="Paragraph3">
									<left>10px</left>
									<top>20px</top>
									<width>137px</width>
									<height>24px</height>
									<text>Admin name:</text>
								</Paragraph>
								<Paragraph id="Paragraph7">
									<left>10px</left>
									<top>90px</top>
									<width>140px</width>
									<height>24px</height>
									<text>Admin Password:</text>
								</Paragraph>
								<SubmitButton id="SubmitButton2">
									<left>10px</left>
									<top>166px</top>
									<width>290px</width>
									<height>40px</height>
									<caption>Submit</caption>
								</SubmitButton>
								<Container id="ContainerData">
									<left>10px</left>
									<top>222px</top>
									<width>290px</width>
									<height>90px</height>
									<style>background-color:#F3F3F3;border-color:#A8A8A8;border-style:solid;border-width:1px;padding-left:4px;overflow-y:auto</style>
								</Container>
							</Components>
						</Form>
						<Paragraph id="Paragraph1">
							<left>20px</left>
							<top>360px</top>
							<width>280px</width>
							<height>40px</height>
							<text>Double click the Form Object to see code.</text>
						</Paragraph>
					</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>320px</width>
							<height>480px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
