This shows you the differences between two versions of the page.
— |
koda:en:documentation:appendice_faq [2014/07/10 10:47] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Frequently Asked Questions ====== | ||
+ | | ||
+ | # | ||
+ | By default, Captions are converted by Koda into string constants, but there is another way: a Caption can be a variable or even an expression. This is achieved through the use of //% variables// | ||
+ | |||
+ | ^Koda^AutoIt^ | ||
+ | |%cat%|$cat| | ||
+ | |%cat% is black|$cat & " is back"| | ||
+ | |||
+ | |||
+ | # | ||
+ | |||
+ | * Create a form, either via File -> New or by clicking on the New Form icon. | ||
+ | * In Object Inspector, enter a Description | ||
+ | * Optionally, in Object Inspector, assign an Icon to the form. | ||
+ | * Add controls to the form, as you would for any form | ||
+ | * Do File -> Save As. The Save As dialog shows. | ||
+ | * Navigate to ..\Koda\Templates | ||
+ | * If you wish to start a new tab in the Form Templates dialog, create a new directory, and switch to it. | ||
+ | * Save the form. | ||
+ | |||
+ | Your template will appear in the Form Templates dialog. | ||
+ | |||
+ | //If you do not assign an icon, Koda assigns the default icon.// | ||
+ | |||
+ | //The directory you create must be a son of the Templates directory.// | ||
+ | |||
+ | # | ||
+ | It is likely that a control extends to beyond the right edge of the form. | ||
+ | |||
+ | # | ||
+ | Did you remember to press the < | ||
+ | |||
+ | # | ||
+ | AutoIt limits an UpDown control to being a //buddy control//, so in Koda it only works when it is attached to an InputBox control. | ||
+ | |||
+ | # | ||
+ | With an Updown control attached, the initial value is set in the Position property of the UpDown control. |