User Tools

Site Tools


koda:en:documentation:how_create_control

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

koda:en:documentation:how_create_control [2014/07/10 10:48] (current)
Line 1: Line 1:
 +==== Getting Started ====
 +
 +#remarks_header[Adding a Control to a Form]#
 +
 +The Palette (near the top of the screen) contains icons for all available controls, divided into several tabs. Find the kind of control you wish to create. Some of the icons can be a bit difficult to recognize (until you get used to them) but if you hover your mouse over an icon for a few seconds, Koda will show you its name. **Click on your chosen icon**
 +
 +Koda calls the window below the Palette the Design Area. **Drag and drop there to define the bounds of the control**. (You can change them later.) You have added your first control to a form.
 +
 +If you chose Menu, ContextMenu, TrayMenu or ImageList, Koda ignores the bounds you set because the control won't appear on the form when you run it: these are [[substitute_control|substitute controls]]. 
 +
 +If you chose Toolbar, Koda knows to put it at the top of the form; similarly it places StausBar at the bottom of the form.
 +
 +#remarks_header[Setting Properties for a Control]#
 +
 +For most controls that will be seen when you run your script, the steps above are all that are needed before you start entering the properties of the control in Object Inspector (which is at the lower left). For the other visible controls, we offer tutorials:
 +
 +  * For Menu, ContextMenu, and TrayMenu: [[create_menu]]
 +  * For Tab: [[creating_a_tab_control|]]
 +  * For Toolbar: [[create_toolbar|]]
 +
 +Descriptions of the properties of all controls are in Help, under **Controls**. When you change a property with a numeric value, remember to confirm your entry by pressing the <key>Enter</key>.
 +
 +#remarks_header[... And Finally]#
 +
 +Koda generates AutoIt scripts. When you are ready, try running the script for your form by clicking on  {{glyph_run.png|}} or by pressing the <key>F10</key> key.
 +
 +When you are satisfied that your form is what you require, click on {{glyph_generate.png|}} or press <key>F9</key> to generate its AutoIt script. You will be able to choose whether the script is saved to a file or placed on the Clipboard.
 +
 +Welcome to Koda!
  
koda/en/documentation/how_create_control.txt ยท Last modified: 2014/07/10 10:48 (external edit)