form 0
tile=property w=300 x=10 height=#h
tile=text y=40 text=[user_field0]
tile=text y=40+#dy text=[user_field1]
tile=text y=40+2*#dy text=[user_field2]
tile=text y=40+3*#dy text=[user_field3]
tile=text y=40+4*#dy text=[user_field4]
tile=text y=40+5*#dy text=[user_field5]
tile=text y=40+6*#dy text=[user_field6]
tile=text y=40+7*#dy text=[user_field7]
tile=text y=40+8*#dy text=[user_field8]
tile=text y=40+9*#dy text=[user_field9]
tile=property w=470 x=320 height=#h
tile=input y=40 name= [field0]
tile=input y=40+#dy name= [field1]
tile=input y=40+#dy*2 name= [field2]
tile=input y=40+#dy*3 name= [field3]
tile=input y=40+#dy*4 name= [field4]
tile=input y=40+#dy*5 name= [field5]
tile=input y=40+#dy*6 name= [field6]
tile=input y=40+#dy*7 name= [field7]
tile=input y=40+#dy*8 name= [field8]
tile=input y=40+#dy*9 name= [field9]
tile=button x= 50 y=#_height_virtual-200 w=250 height=80 name=save text=save section=save
tile=button x=500 y=#_height_virtual-200 w=250 height=80 name=back text=back section=back
end form
------
form 1
tile=property w=300 x=10 height=#h
tile=text y=40 text=[user_field0]
tile=text y=40+#dy text=[user_field1]
tile=text y=40+2*#dy text=[user_field2]
tile=text y=40+3*#dy text=[user_field3]
tile=text y=40+4*#dy text=[user_field4]
tile=text y=40+5*#dy text=[user_field5]
tile=text y=40+6*#dy text=[user_field6]
tile=text y=40+7*#dy text=[user_field7]
tile=text y=40+8*#dy text=[user_field8]
tile=text y=40+9*#dy text=[user_field9]
tile=property w=470 x=320 height=#h
tile=input y=40 name= [field0]
tile=input y=40+#dy name= [field1]
tile=input y=40+#dy*2 name= [field2]
tile=input y=40+#dy*3 name= [field3]
tile=input y=40+#dy*4 name= [field4]
tile=input y=40+#dy*5 name= [field5]
tile=input y=40+#dy*6 name= [field6]
tile=input y=40+#dy*7 name= [field7]
tile=input y=40+#dy*8 name= [field8]
tile=input y=40+#dy*9 name= [field9]
tile=button x= 50 y=620 w=250 height=80 name=save text=save section=save
tile=button x=500 y=620 w=250 height=80 name=back text=back section=back
end form
----------------------------------------------------------------
section save
if #mode==add
write_record file=#FILE directory=#DIR
else
update_current_record file=#FILE directory=#DIR
endif
call scene=browse
end
----------------------------------------------------------------
section back
call scene=browse
end
end scene
==================================================
scene=copy name="copy file"
section init
call dialog=dia_copy
end section
------
dialog dia_copy
tile=title text="Please enter name for copy"
tile=message text=#FILE
tile=input name=#new_name
tile=button text=cancel section=back
tile=button text=copy section=copy
end dialog
------
section copy
copy from_file=#FILE to_file=#new_name from_directory=#DIR to_directory=#DIR
call scene=1
end section
------
section back
call scene=1
end
end scene copy
=================================================
scene=delete name=delete
section init
#title=$concate("delete file "+#FILE)
#message =$concate("directory "+#DIR)
call dialog=dia_del
end section
------
dialog dia_del
tile=title text=#title
tile=message text=#DIR
tile=button text=yes section=delete
tile=button text=no section=back
end dialog
------
section delete
delete file=#FILE directory=#DIR
call scene=1
end section
------
section back
call scene=1
end section
end scene
====================================
scene=rename name=rename
section init
call dialog=dia_ren
end section
------
dialog dia_ren
tile=title text="Please enter new file name"
tile=message text=#FILE
tile=input name=#new_name
tile=button text=cancel section=back
tile=button text=rename section=rename
end dialog
------
section rename
rename file=#FILE to=#new_name directory=#DIR
call scene=1
end section
------
section back
call scene=1
end
end scene rename
LIST OF EXAMPLES
Die bereitgestellten Screenshots können geringfügig von den tatsächlichen Ergebnissen der Skripte abweichen.