<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>neoGSheets Sample App</AppTitle>
	<AppShortName>neoGSheets</AppShortName>
	<Author>SinLios</Author>
	<Version>1.0</Version>
	<Description>neoGSheets Sample App</Description>
	<Variables>[age],[current],[mydata([current]).Age],[mydata([current]).apellidos],[mydata([current]).edad],[mydata([current]).Name],[mydata([current]).nombre],[mydata([current]).Surname],[mydata(0)],[mydata],[name],[surname],[total]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>1024</PageWidth>
	<PageHeight>550</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">
			<Components>
				<Function name="mysub">
					<Code>ArrayLen [mydata] [total]
.The array index 0 stores the field names.
SetVar [total] [total]-1
SetVar [name] &quot;[mydata([current]).Name]&quot;
SetVar [surname] &quot;[mydata([current]).Surname]&quot;
SetVar [age] &quot;[mydata([current]).Age]&quot;
SetVar [comment] &quot;[mydata([current]).Comment]&quot;
Refresh</Code>
				</Function>
				<Function name="mysub2">
					<Code>ArrayLen [mydata] [total]
.The array index 0 stores the field names.
SetVar [i] 0
LoopObject [name] [mydata(0)]
   SetCompVar [miname[i]] &quot;[name]&quot;
EndLoop

SetVar [total] [total]-1
SetVar [name] &quot;[mydata([current]).Num]&quot;
SetVar [surname] &quot;[mydata([current]).Code]&quot;

Refresh</Code>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<pageenter>SetVar [current] 1
SetVar [total] 1</pageenter>
					<Components>
						<Container id="Container3">
							<left>368px</left>
							<top>57px</top>
							<width>384px</width>
							<height>232px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
						</Container>
						<PushButton id="PushButton3">
							<left>368px</left>
							<top>297px</top>
							<width>384px</width>
							<height>48px</height>
							<caption>Load Data From Google Sheets Into a Table</caption>
							<click>SetVar [googleSheet] &quot;https://docs.google.com/spreadsheets/d/15opsxPVzmeZSuLQOB0WqN2K4rcc1e_6HSnIvreVMdek/edit?usp=sharing#gid=0&quot;
.get all columns and order by age
neoGSheetsLoadAsTable &quot;Container3&quot; &quot;[googleSheet]&quot; &quot;order by C&quot; &quot;&quot;</click>
						</PushButton>
						<Container id="Container4">
							<left>24px</left>
							<top>409px</top>
							<width>232px</width>
							<height>64px</height>
							<style>text-align:center;background-color:#fff;border-style:solid;border-width:1px;padding-top:20px</style>
							<html>[cellData]</html>
						</Container>
						<Container id="Container1">
							<left>24px</left>
							<top>17px</top>
							<width>328px</width>
							<height>272px</height>
							<style>background-color:#F0F0F0;border-style:solid;border-width:1px</style>
							<Components>
								<Container id="Container2">
									<left>150px</left>
									<top>56px</top>
									<width>160px</width>
									<height>96px</height>
									<style>border-width:1px;padding-left:10px;padding-top:10px</style>
									<html>[name]&lt;br&gt;
[surname]&lt;br&gt;
[age]&lt;br&gt;
[comment]</html>
								</Container>
								<Pager id="Pager1">
									<left>30px</left>
									<top>170px</top>
									<width>256px</width>
									<height>40px</height>
									<prev_caption>&lt;span class=&quot;glyphicon glyphicon-arrow-left&quot;&gt;&lt;/span&gt;</prev_caption>
									<next_caption>&lt;span class=&quot;glyphicon glyphicon-arrow-right&quot;&gt;&lt;/span&gt;</next_caption>
									<prevclick>SetVar [current] [current]-1
If [current] &lt; 1
  SetVar [current] 1
EndIf
SetVar [name] &quot;[mydata([current]).Name]&quot;
SetVar [surname] &quot;[mydata([current]).Surname]&quot;
SetVar [age] &quot;[mydata([current]).Age]&quot;
SetVar [comment] &quot;[mydata([current]).Comment]&quot;</prevclick>
									<nextclick>SetVar [current] [current]+1
If [current] &gt; [total]
  SetVar [current] [total]
EndIf
SetVar [name] &quot;[mydata([current]).Name]&quot;
SetVar [surname] &quot;[mydata([current]).Surname]&quot;
SetVar [age] &quot;[mydata([current]).Age]&quot;
SetVar [comment] &quot;[mydata([current]).Comment]&quot;</nextclick>
								</Pager>
								<Container id="Container5">
									<left>14px</left>
									<top>56px</top>
									<width>136px</width>
									<height>96px</height>
									<style>font-weight:bold;text-align:right;border-width:1px;padding-left:10px;padding-top:10px</style>
									<html>Name:&lt;br&gt;
Surname:&lt;br&gt;
Age:&lt;br&gt;
Comment:</html>
								</Container>
								<Paragraph id="Paragraph1">
									<left>30px</left>
									<top>212px</top>
									<width>256px</width>
									<height>24px</height>
									<style>text-align:center</style>
									<text>[current]/[total]&lt;br&gt;</text>
								</Paragraph>
								<Container id="Container6">
									<left>0px</left>
									<top>0px</top>
									<width>328px</width>
									<height>40px</height>
									<style>color:#FFFFFF;font-weight:bold;text-align:center;background-color:#383838;padding-top:10px</style>
									<html>Get the data in an Array of Objects</html>
								</Container>
							</Components>
						</Container>
						<Listbox id="Listbox1">
							<left>768px</left>
							<top>57px</top>
							<width>232px</width>
							<height>232px</height>
							<items>[days]</items>
							<variable>[theday]</variable>
							<multi_select>False</multi_select>
						</Listbox>
						<PushButton id="PushButton4">
							<left>768px</left>
							<top>297px</top>
							<width>48px</width>
							<height>48px</height>
							<caption>ES</caption>
							<click>SetVar [googleSheet] &quot;https://docs.google.com/spreadsheets/d/1QgNDjNY8qsaBhU7XDNjE9WWOXayftOgPykJaxvJfVtY/edit#gid=0&quot;
neoGSheetsLoadColumn &quot;[googleSheet]&quot; [days] &quot;a&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton5">
							<left>830px</left>
							<top>297px</top>
							<width>48px</width>
							<height>48px</height>
							<caption>EN</caption>
							<click>SetVar [googleSheet] &quot;https://docs.google.com/spreadsheets/d/1QgNDjNY8qsaBhU7XDNjE9WWOXayftOgPykJaxvJfVtY/edit#gid=0&quot;
neoGSheetsLoadColumn &quot;[googleSheet]&quot; [days] &quot;b&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton6">
							<left>892px</left>
							<top>297px</top>
							<width>48px</width>
							<height>48px</height>
							<caption>FR</caption>
							<click>SetVar [googleSheet] &quot;https://docs.google.com/spreadsheets/d/1QgNDjNY8qsaBhU7XDNjE9WWOXayftOgPykJaxvJfVtY/edit#gid=0&quot;
neoGSheetsLoadColumn &quot;[googleSheet]&quot; [days] &quot;c&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="PushButton7">
							<left>952px</left>
							<top>297px</top>
							<width>48px</width>
							<height>48px</height>
							<caption>DE</caption>
							<click>SetVar [googleSheet] &quot;https://docs.google.com/spreadsheets/d/1QgNDjNY8qsaBhU7XDNjE9WWOXayftOgPykJaxvJfVtY/edit#gid=0&quot;
neoGSheetsLoadColumn &quot;[googleSheet]&quot; [days] &quot;d&quot; &quot;&quot;</click>
						</PushButton>
						<Container id="Container7">
							<left>368px</left>
							<top>17px</top>
							<width>384px</width>
							<height>40px</height>
							<style>color:#FFFFFF;font-weight:bold;text-align:center;background-color:#383838;padding-top:10px</style>
							<html>Get the data in a HTML table</html>
						</Container>
						<Container id="Container8">
							<left>768px</left>
							<top>17px</top>
							<width>232px</width>
							<height>40px</height>
							<style>color:#FFFFFF;font-weight:bold;text-align:center;background-color:#383838;padding-top:10px</style>
							<html>Get column data in Array</html>
						</Container>
						<PushButton id="PushButton1">
							<left>24px</left>
							<top>297px</top>
							<width>328px</width>
							<height>48px</height>
							<caption>Load Data From Google Sheets</caption>
							<click>SetVar [current] 1
.Load a Public Google DataSheet Data
SetVar [googleSheet] &quot;https://docs.google.com/spreadsheets/d/15opsxPVzmeZSuLQOB0WqN2K4rcc1e_6HSnIvreVMdek/edit?usp=sharing#gid=0&quot;
neoGSheetsLoad &quot;[googleSheet]&quot; [mydata] &quot;select A,B,C,D&quot; &quot;mysub&quot;</click>
						</PushButton>
						<Container id="Container9">
							<left>24px</left>
							<top>369px</top>
							<width>232px</width>
							<height>40px</height>
							<style>color:#FFFFFF;font-weight:bold;text-align:center;background-color:#383838;padding-top:10px</style>
							<html>Get cell data in Variable</html>
						</Container>
						<PushButton id="PushButton8">
							<left>24px</left>
							<top>481px</top>
							<width>232px</width>
							<height>48px</height>
							<caption>Load Cell Data</caption>
							<click>SetVar [googleSheet] &quot;https://docs.google.com/spreadsheets/d/15opsxPVzmeZSuLQOB0WqN2K4rcc1e_6HSnIvreVMdek/edit?usp=sharing#gid=0&quot;
neoGSheetsLoadCell &quot;[googleSheet]&quot; [cellData] &quot;a&quot; 1 &quot;&quot;</click>
						</PushButton>
						<Container id="Container10">
							<left>280px</left>
							<top>369px</top>
							<width>720px</width>
							<height>136px</height>
							<html>&lt;strong&gt;Public Google SpreadSheets:&lt;/strong&gt;&lt;br&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheets/d/15opsxPVzmeZSuLQOB0WqN2K4rcc1e_6HSnIvreVMdek/edit?usp=sharing#gid=0&quot;&gt;Google SpreadSheet 1&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;https://docs.google.com/spreadsheets/d/1QgNDjNY8qsaBhU7XDNjE9WWOXayftOgPykJaxvJfVtY/edit#gid=0&quot;&gt;Google SpreadSheet 2&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Translations done using Google SpreadSheets translation function:&lt;/strong&gt;&lt;br&gt;
=GOOGLETRANSLATE(A1;&quot;es&quot;;&quot;en&quot;)

</html>
						</Container>
						<PushButton id="PushButton2">
							<left>768px</left>
							<top>481px</top>
							<width>232px</width>
							<height>48px</height>
							<caption>Reset All Data</caption>
							<kind>danger</kind>
							<click>SetObjectHTML &quot;Container3&quot; &quot;&quot;
SetVar [cellData] &quot;&quot;
CreateEmptyArray [mydata]
CreateEmptyArray [days]
SetVar [name] &quot;&quot;
SetVar [surname] &quot;&quot;
SetVar [age] &quot;&quot;
SetVar [comment] &quot;&quot;
SetVar [total] 1
SetVar [current] 1</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>1024px</width>
							<height>600px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
