<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Desktop</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>800</PageWidth>
	<PageHeight>600</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\Gaev Keeka\Documents\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">
			<Components>
				<Function name="timerCalc">
					<Code>If [timerVar] &lt; 0
   ... the end
   ClearInterval [timerlVar]
Else
    Math &quot;[timerVar]-[timerInterval]&quot; &quot;0&quot; &quot;[timerVar]&quot;
Endif

</Code>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<NumericInput id="NumericInput1">
							<left>307px</left>
							<top>99px</top>
							<width>75px</width>
							<height>36px</height>
							<variable>[countdownStart]</variable>
							<init_value>55</init_value>
						</NumericInput>
						<NumericInput id="NumericInput2">
							<left>302px</left>
							<top>170px</top>
							<width>78px</width>
							<height>30px</height>
							<variable>[countdownInterval]</variable>
							<init_value>1</init_value>
						</NumericInput>
						<Container id="Container1">
							<left>53px</left>
							<top>101px</top>
							<width>246px</width>
							<height>32px</height>
							<style>background-color:#fff;border-style:none;border-width:1px</style>
							<html>countdownStart (seconds)</html>
						</Container>
						<Container id="Container2">
							<left>48px</left>
							<top>173px</top>
							<width>246px</width>
							<height>27px</height>
							<style>background-color:#fff;border-style:none;border-width:1px</style>
							<html>countdownInterval (seconds)</html>
						</Container>
						<PushButton id="PushButton1">
							<left>49px</left>
							<top>245px</top>
							<width>212px</width>
							<height>36px</height>
							<caption>Do It</caption>
							<click>Math &quot;[countdownInterval]*1000&quot; &quot;0&quot; &quot;[timerInterval]&quot;
TimerStart &quot;Timer1&quot; [timerInterval]</click>
						</PushButton>
						<Container id="Container3">
							<left>305px</left>
							<top>246px</top>
							<width>124px</width>
							<height>30px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[timeRemaining]</html>
						</Container>
						<Container id="Container4">
							<left>434px</left>
							<top>246px</top>
							<width>121px</width>
							<height>30px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[cmin]:[csec]</html>
						</Container>
						<Timer id="Timer1">
							<left>430px</left>
							<top>114px</top>
							<width>34px</width>
							<height>34px</height>
							<interval>1000</interval>
							<variable>[timerVar]</variable>
							<auto_start>False</auto_start>
							<auto_stop>False</auto_stop>
							<expired>... time remaining in seconds
Math &quot;[timerVar]/1000&quot; &quot;0&quot; &quot;[countdownVar]&quot;
Math &quot;[countdownStart]-[countdownVar]&quot; &quot;0&quot; &quot;[timeRemaining]&quot;


BeginJS
timeLeft = $App.timeRemaining;
$App.cmin = Math.trunc(timeLeft/60);
EndJS


... format to minutes and seconds
...Math &quot;floor([timeRemaining]/60)&quot; 0 [cmin]



Math &quot;([timeRemaining] Mod 60)&quot; &quot;0&quot; [csec]
If &quot;[csec]&quot; &quot;&lt;&quot; 10
   SetVar &quot;[csec]&quot; &quot;0[csec]&quot;
EndIf

If [timeRemaining] &lt;= 0
   TimerStop &quot;Timer1&quot;
EndIf</expired>
						</Timer>
						<PushButton id="PushButton2">
							<left>46px</left>
							<top>306px</top>
							<width>212px</width>
							<height>36px</height>
							<caption>Stop It</caption>
							<click>TimerStop &quot;Timer1&quot;</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>800px</width>
							<height>600px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
