Types of Objects:
 

Types of Objects:

Label: These are "words" telling the user what is needed. Used to explain the purpose of the window.

IntegerField: Creates the entry box for the user to input integer values. If the user enters nonnumeric or floating-point data in an integer field box, the program will automatically convert the value to a 0.

DoubleField: Creates the entry box for the user to input double values. If the user enters nonnumeric data in a double field box, the program will automatically convert it to a 0.

Button: Creates the button telling the program to perform some process.

To create a window, simply indicate the position of the objects you wish to use. The grid will automatically adjust itself to the needed number of rows and columns. The correct syntax is:

= (, , ,,);

Format:

Label = addLabel (".....",r,c,w,h);

IntegerField = addIntegerField(,r,c,w,h);

DoubleField = addDoubleField(,r,c,w,h);

Button = addButton (".....",r,c,w,h);

, c: ,
This is the location of the control as designated by the top left corner of the cell.

w, h: ,
This is the number of horizontal and vertical cells occupied by the control.

(c) Shilpa Sayura Foundation 2006-2017