form port
tile=rect x=20 y=20 w=760 h=640 bgcolor=200
tile=property gravity=right x= 40 w=280 s=32
tile=text y= 40 text= "year1"
tile=text y= 90 text= "month1"
tile=text y= 140 text= "day1"
tile=text y= 190 text= "date1"
tile=text y= 240 text= "date2"
tile=text y= 290 text= "datetime1"
tile=text y= 340 text= "datetime2"
tile=text y= 390 text= "dateformat1"
tile=text y= 440 text= "dateformat2"
tile=text y= 490 text= "dateformat3"
tile=text y= 540 text= "default dateformat" color=blue
tile=text y= 590 text= "(file config)" color=blue
tile=property weight=bold x=350 gravity=left color=900
tile=text y= 40 w=500 text=#year1
tile=text y= 90 w=500 text=#month1
tile=text y=140 w=500 text=#day1
tile=text y= 190 w=500 text=#date1
tile=text y= 240 w=500 text=#date2
tile=text y= 290 w=500 text=#datetime1
tile=text y= 340 w=500 text=#datetime2
tile=text y= 390 text= #format1
tile=text y= 440 text= #format2
tile=text y= 490 text= #format3
tile=text y= 540 text= #config_dateformat color=blue
tile=property style=normal gravity=left color=""
tile=text x= 10 y= 690 w=780 text=$concate(@|_result+" "+#result) weight=bold color=900 s=40 color=blue
tile=input name=#input x= 10 y= 760 w=780 text=$as_it_is(#function) h=150 multiline=1 s=32
tile=button name=#button_select x= 10 y= 940 w=380 text=@|_select_function action=select_muster s=35
tile=text x= 10 y=1040 w=780 text=#help style=italic color=900 h=120
end form
------------------------------------------------
form land
tile=rect x=20 y=25 w=1240 h=360 bgcolor=200
tile=property gravity=right x= 110 w=220 s=28
tile=text y= 40 text= "year1"
tile=text y= 90 text= "month1"
tile=text y= 140 text= "day1"
tile=text y= 190 text= "date1"
tile=text y= 230 text= "date2"
tile=text y= 280 text= "datetime1"
tile=text y= 330 text= "datetime2"
tile=property style=bold x=350 gravity=left s=28 weight=bold
tile=text y= 40 w=500 text=#year1
tile=text y= 90 w=500 text=#month1
tile=text y=140 w=500 text=#day1
tile=text y= 190 w=500 text=#date1
tile=text y= 230 w=500 text=#date2
tile=text y= 280 w=500 text=#datetime1
tile=text y= 330 w=500 text=#datetime2
tile=property gravity=right x= 610 w=220 s=28
tile=text y= 40 text= "format1"
tile=text y= 90 text= "format2"
tile=text y= 140 text= "format3"
tile=text y= 190 text= "date1"
tile=text y= 240 text= "format default " color=blue
tile=text y= 270 text= "( file config)" color=blue
tile=property style=bold x=850 gravity=left s=28 weight=bold
tile=text y= 40 w=500 text=#format1
tile=text y= 90 w=500 text=#format2
tile=text y=140 w=500 text=#format3
tile=text y= 190 w=500 text=#date1
tile=text y= 240 w=500 text=#config_dateformat color=blue
tile=property color= "" weight="" size=""
tile=text x= 10 y=400 text=$concate(@|result," ",#result) weight=bold color=900 s=40 color=blue
tile=input name=#input x= 10 y=470 text=$as_it_is(#function) h=110 multiline=1
tile=button name=#button_select x=10 y=590 w=500 text=@|_select_function action=select_muster s=30
tile=text x= 10 y=690 text=#help style=italic color=900 h=120 s=35
end form
----------------------------------------
action run_function
if #function==""
message "function not selected"
draw form=#form
return
endif
#function=#input
run from=#input to=#result
#help= @|_press_select
draw form=#form
end section
-----------------------------------------
action select_muster
file example_function_date(#function)
read file=example_function_date directory=#_directory_files_examples
call list=list_function
end section
-----------------------------------------
list list_function
tile=file name=example_function_date
tile=title text="Select function"
tile=item name=#function
tile=button text=X name=button_close_menu section=back
tile=select section=select
end list
------------------------------------------
action close
call scene=1
end section
--------------------------------------------
action select
#result=""
#select=#function
// #function=#input
run from=#function to=#result
// #help=@press_execute
#selected_value=$remove_double_quotes(#function)
draw form=#form
end
----------------------------------------------
action back
call script=17_0_test_function