Developer-Forms

Every form (its shape and properties) is stored in a resource file of type FM. This file contains information that is nessecary in order the kosmos application to know the dimensions, color, fields etc of the form

 

By right click the mouse over the form, from the popup menu, we select Designing and the property window of the form it opens. To close the window (to terminate the designing of the form) we select from the menu Designing End.

  

 

 

Type

   

Top

   

Left

   

Width

   

Height

   

Tab Top

   

Tab Left

   

Tab Width

   

Tab Height

   

Tab Position

   

TabsPerRow

   

Color

   

Title

   

File

   

Task

   

ActiveModal(1/0)

   

Maximized(1/0)

   

Center(1/0)

   

Code

By pressing here we have all form logic in AutoScript. The standard procedrures are the following:

 

proc Form_Start()

fun  Form_BeforeClose()

 

Other form procedures are the...

 

proc <FieldName>_OnChange() for example NAME_OnChange().

 

 

Help to the user

   

Help to the developer