<form_item> Defines a form item.
Command Tree: | Form \ Form Item | ||||||||||||||||||||
. | |||||||||||||||||||||
Syntax: | <text>("FormID",
"ItemLabel", "ItemType", "ItemDefValue",
"ItemVariable")
|
||||||||||||||||||||
. | |||||||||||||||||||||
. | |||||||||||||||||||||
Example: | <#> This example shows how to use form commands <#> <commands_only_on> <form_item>("FM1","This is a simple calculator for: + - * /","TEXT","0","") <form_item>("FM1","","LINE","0","") <form_item>("FM1","Operand 1:","EDIT","0","vOper1") <form_item>("FM1","Operation:","LIST","Plus|Minus|Multiply|Divide","vOperation") <form_item>("FM1","Operand 2:","EDIT","0","vOper2") <form_item>("FM1","","LINE","0","") <form_item>("FM1","Continue ?","CHECK","0","vAgain") <label>("lbl_Again") <form_show>("FM1","Simple Calculator","calc.exe",0) <if>("vOperation==Plus") <varchng>("vOper1","+","vOper2") <endif> <if>("vOperation==Minus") <varchng>("vOper1","-","vOper2") <endif> <if>("vOperation==Multiply") <varchng>("vOper1","*","vOper2") <endif> <if>("vOperation==Divide") <varchng>("vOper1","/","vOper2") <endif> <msg>(100,100,"vOper1","The result is:",1) <if>("vAgain==YES") <goto>("lbl_Again") <endif> |