User Tools

Site Tools


Sidebar

<< Back


koda:en:documentation:appendice_faq

Frequently Asked Questions

#term_definition[What is a % variable?]#

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. Examples in which %cat% is a % variable:

KodaAutoIt
%cat%$cat
%cat% is black$cat & “ is back”

#term_definition[How do I create a form template?]#

  • 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.

#term_definition[I have a horizontal scroll bar unexpectedly on my form. Why?]# It is likely that a control extends to beyond the right edge of the form.

#term_definition[I entered a value in a numeric property field but Koda ignored the change. Why?]# Did you remember to press the Enter key to confirm?

#term_definition[I added an UpDown control to a form but it doesn't show when I run the form. Why?]# AutoIt limits an UpDown control to being a buddy control, so in Koda it only works when it is attached to an InputBox control.

#term_definition[I attached an UpDown control to an InputBox control. Now Koda doesn't accept a new value in the Text property of the InputBox control. Why?]# With an Updown control attached, the initial value is set in the Position property of the UpDown control.

koda/en/documentation/appendice_faq.txt · Last modified: 2014/07/10 10:47 (external edit)