PWCT 1.9 Art Documentation ( http://doublesvsoop.sourceforge.net )

2006-2019, Mahmoud Fayed ( msfclipper@users.sourceforge.net )

_____________________________________________________________________________________

Table of contents

1 - Introduction

2 - Implementation steps

3 - Final Steps Tree

4 - Application during the runtime

1 - Introduction

In this lesson we are going to create the Age Calculation sample.

2 - Implementation Steps

s1.JPG

Fig. (1) Goal Desginer - Steps Tree

Select the step (The First Step)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Windows)

                3 - Select the component (Define New Window)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Define New Window)

                Note : Stop typing when you see the required component is selected

s2.JPG

Fig. (2) Component Browser – Select the component (Define New Window)

After selecting the component click Ok or press ENTER

s3.JPG

Fig. (3) Interaction page - Set the properties and enter the required data as in the image above

s4.JPG

Fig. (4) Form Designer

s5.JPG

Fig. (5) Goal Desginer - Steps Tree

Select the step (Window Properties)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Windows)

                3 - Select the component (Window Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Window Class)

                Note : Stop typing when you see the required component is selected

s6.JPG

Fig. (6) Component Browser – Select the component (Window Class)

After selecting the component click Ok or press ENTER

s7.JPG

Fig. (7) Interaction page - Set the properties and enter the required data as in the image above

s8.JPG

Fig. (8) Interaction page - Set the properties and enter the required data as in the image above

s9.JPG

Fig. (9) Interaction page - Set the properties and enter the required data as in the image above

s10.JPG

Fig. (10) Form Designer

s11.JPG

Fig. (11) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Label)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Label)

                Note : Stop typing when you see the required component is selected

s12.JPG

Fig. (12) Component Browser – Select the component (Label)

After selecting the component click Ok or press ENTER

s13.JPG

Fig. (13) Interaction page - Set the properties and enter the required data as in the image above

s14.JPG

Fig. (14) Form Designer

s15.JPG

Fig. (15) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Label)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Label)

                Note : Stop typing when you see the required component is selected

s16.JPG

Fig. (16) Component Browser – Select the component (Label)

After selecting the component click Ok or press ENTER

s17.JPG

Fig. (17) Interaction page - Set the properties and enter the required data as in the image above

s18.JPG

Fig. (18) Form Designer

s19.JPG

Fig. (19) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Label)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Label)

                Note : Stop typing when you see the required component is selected

s20.JPG

Fig. (20) Component Browser – Select the component (Label)

After selecting the component click Ok or press ENTER

s21.JPG

Fig. (21) Interaction page - Set the properties and enter the required data as in the image above

s22.JPG

Fig. (22) Form Designer

s23.JPG

Fig. (23) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s24.JPG

Fig. (24) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s25.JPG

Fig. (25) Interaction page - Set the properties and enter the required data as in the image above

s26.JPG

Fig. (26) Form Designer

s27.JPG

Fig. (27) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s28.JPG

Fig. (28) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s29.JPG

Fig. (29) Interaction page - Set the properties and enter the required data as in the image above

s30.JPG

Fig. (30) Form Designer

s31.JPG

Fig. (31) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s32.JPG

Fig. (32) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s33.JPG

Fig. (33) Interaction page - Set the properties and enter the required data as in the image above

s34.JPG

Fig. (34) Form Designer

s35.JPG

Fig. (35) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Label)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Label)

                Note : Stop typing when you see the required component is selected

s36.JPG

Fig. (36) Component Browser – Select the component (Label)

After selecting the component click Ok or press ENTER

s37.JPG

Fig. (37) Interaction page - Set the properties and enter the required data as in the image above

s38.JPG

Fig. (38) Form Designer

s39.JPG

Fig. (39) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Label)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Label)

                Note : Stop typing when you see the required component is selected

s40.JPG

Fig. (40) Component Browser – Select the component (Label)

After selecting the component click Ok or press ENTER

s41.JPG

Fig. (41) Interaction page - Set the properties and enter the required data as in the image above

s42.JPG

Fig. (42) Form Designer

s43.JPG

Fig. (43) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s44.JPG

Fig. (44) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s45.JPG

Fig. (45) Interaction page - Set the properties and enter the required data as in the image above

s46.JPG

Fig. (46) Form Designer

s47.JPG

Fig. (47) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s48.JPG

Fig. (48) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s49.JPG

Fig. (49) Interaction page - Set the properties and enter the required data as in the image above

s50.JPG

Fig. (50) Form Designer

s51.JPG

Fig. (51) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s52.JPG

Fig. (52) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s53.JPG

Fig. (53) Interaction page - Set the properties and enter the required data as in the image above

s54.JPG

Fig. (54) Form Designer

s55.JPG

Fig. (55) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s56.JPG

Fig. (56) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s57.JPG

Fig. (57) Interaction page - Set the properties and enter the required data as in the image above

s58.JPG

Fig. (58) Form Designer

s59.JPG

Fig. (59) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s60.JPG

Fig. (60) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s61.JPG

Fig. (61) Interaction page - Set the properties and enter the required data as in the image above

s62.JPG

Fig. (62) Form Designer

s63.JPG

Fig. (63) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (TextBox)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (TextBox)

                Note : Stop typing when you see the required component is selected

s64.JPG

Fig. (64) Component Browser – Select the component (TextBox)

After selecting the component click Ok or press ENTER

s65.JPG

Fig. (65) Interaction page - Set the properties and enter the required data as in the image above

s66.JPG

Fig. (66) Form Designer

s67.JPG

Fig. (67) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Button)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Button)

                Note : Stop typing when you see the required component is selected

s68.JPG

Fig. (68) Component Browser – Select the component (Button)

After selecting the component click Ok or press ENTER

s69.JPG

Fig. (69) Interaction page - Set the properties and enter the required data as in the image above

s70.JPG

Fig. (70) Form Designer

s71.JPG

Fig. (71) Goal Desginer - Steps Tree

Select the step (Button Events)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Events)

                3 - Select the component (Button Events)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Button Events)

                Note : Stop typing when you see the required component is selected

s72.JPG

Fig. (72) Component Browser – Select the component (Button Events)

After selecting the component click Ok or press ENTER

s73.JPG

Fig. (73) Interaction page - Set the properties and enter the required data as in the image above

s74.JPG

Fig. (74) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Label)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Label)

                Note : Stop typing when you see the required component is selected

s75.JPG

Fig. (75) Component Browser – Select the component (Label)

After selecting the component click Ok or press ENTER

s76.JPG

Fig. (76) Interaction page - Set the properties and enter the required data as in the image above

s77.JPG

Fig. (77) Form Designer

s78.JPG

Fig. (78) Goal Desginer - Steps Tree

Select the step (Window Controls)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Controls)

                3 - Select the component (Button)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Button)

                Note : Stop typing when you see the required component is selected

s79.JPG

Fig. (79) Component Browser – Select the component (Button)

After selecting the component click Ok or press ENTER

s80.JPG

Fig. (80) Interaction page - Set the properties and enter the required data as in the image above

s81.JPG

Fig. (81) Form Designer

s82.JPG

Fig. (82) Goal Desginer - Steps Tree

Select the step (Button Events)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Events)

                3 - Select the component (Button Events)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Button Events)

                Note : Stop typing when you see the required component is selected

s83.JPG

Fig. (83) Component Browser – Select the component (Button Events)

After selecting the component click Ok or press ENTER

s84.JPG

Fig. (84) Interaction page - Set the properties and enter the required data as in the image above

s85.JPG

Fig. (85) Goal Desginer - Steps Tree

Select the step (Define New Window ( win1 ) , Title : "Age Calculation sample by Ibrahim Abdelelah ")

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Windows)

                3 - Select the component (Window/Object Right-To-Left)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Window/Object Right-To-Left)

                Note : Stop typing when you see the required component is selected

s86.JPG

Fig. (86) Component Browser – Select the component (Window/Object Right-To-Left)

After selecting the component click Ok or press ENTER

s87.JPG

Fig. (87) Interaction page - Set the properties and enter the required data as in the image above

s88.JPG

Fig. (88) Form Designer

s89.JPG

Fig. (89) Goal Desginer - Steps Tree

Select the step (Define New Window ( win1 ) , Title : "Age Calculation sample by Ibrahim Abdelelah ")

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Structure Programming)

                3 - Select the component (Call Procedure)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Call Procedure)

                Note : Stop typing when you see the required component is selected

s90.JPG

Fig. (90) Component Browser – Select the component (Call Procedure)

After selecting the component click Ok or press ENTER

s91.JPG

Fig. (91) Interaction page - Set the properties and enter the required data as in the image above

s92.JPG

Fig. (92) Form Designer

s93.JPG

Fig. (93) Goal Desginer - Steps Tree

Select the step (procedures)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Structure Programming)

                3 - Select the component (Define Procedure)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Define Procedure)

                Note : Stop typing when you see the required component is selected

s94.JPG

Fig. (94) Component Browser – Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s95.JPG

Fig. (95) Interaction page - Set the properties and enter the required data as in the image above

s96.JPG

Fig. (96) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (String To Numeric)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (String To Numeric)

                Note : Stop typing when you see the required component is selected

s97.JPG

Fig. (97) Component Browser – Select the component (String To Numeric)

After selecting the component click Ok or press ENTER

s98.JPG

Fig. (98) Interaction page - Set the properties and enter the required data as in the image above

s99.JPG

Fig. (99) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (String To Numeric)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (String To Numeric)

                Note : Stop typing when you see the required component is selected

s100.JPG

Fig. (100) Component Browser – Select the component (String To Numeric)

After selecting the component click Ok or press ENTER

s101.JPG

Fig. (101) Interaction page - Set the properties and enter the required data as in the image above

s102.JPG

Fig. (102) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (String To Numeric)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (String To Numeric)

                Note : Stop typing when you see the required component is selected

s103.JPG

Fig. (103) Component Browser – Select the component (String To Numeric)

After selecting the component click Ok or press ENTER

s104.JPG

Fig. (104) Interaction page - Set the properties and enter the required data as in the image above

s105.JPG

Fig. (105) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (String To Numeric)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (String To Numeric)

                Note : Stop typing when you see the required component is selected

s106.JPG

Fig. (106) Component Browser – Select the component (String To Numeric)

After selecting the component click Ok or press ENTER

s107.JPG

Fig. (107) Interaction page - Set the properties and enter the required data as in the image above

s108.JPG

Fig. (108) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (String To Numeric)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (String To Numeric)

                Note : Stop typing when you see the required component is selected

s109.JPG

Fig. (109) Component Browser – Select the component (String To Numeric)

After selecting the component click Ok or press ENTER

s110.JPG

Fig. (110) Interaction page - Set the properties and enter the required data as in the image above

s111.JPG

Fig. (111) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (String To Numeric)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (String To Numeric)

                Note : Stop typing when you see the required component is selected

s112.JPG

Fig. (112) Component Browser – Select the component (String To Numeric)

After selecting the component click Ok or press ENTER

s113.JPG

Fig. (113) Interaction page - Set the properties and enter the required data as in the image above

s114.JPG

Fig. (114) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Control Structure)

                3 - Select the component (IF Statement)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (IF Statement)

                Note : Stop typing when you see the required component is selected

s115.JPG

Fig. (115) Component Browser – Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s116.JPG

Fig. (116) Interaction page - Set the properties and enter the required data as in the image above

s117.JPG

Fig. (117) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s118.JPG

Fig. (118) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s119.JPG

Fig. (119) Interaction page - Set the properties and enter the required data as in the image above

s120.JPG

Fig. (120) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s121.JPG

Fig. (121) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s122.JPG

Fig. (122) Interaction page - Set the properties and enter the required data as in the image above

s123.JPG

Fig. (123) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Control Structure)

                3 - Select the component (IF Statement)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (IF Statement)

                Note : Stop typing when you see the required component is selected

s124.JPG

Fig. (124) Component Browser – Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s125.JPG

Fig. (125) Interaction page - Set the properties and enter the required data as in the image above

s126.JPG

Fig. (126) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s127.JPG

Fig. (127) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s128.JPG

Fig. (128) Interaction page - Set the properties and enter the required data as in the image above

s129.JPG

Fig. (129) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s130.JPG

Fig. (130) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s131.JPG

Fig. (131) Interaction page - Set the properties and enter the required data as in the image above

s132.JPG

Fig. (132) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s133.JPG

Fig. (133) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s134.JPG

Fig. (134) Interaction page - Set the properties and enter the required data as in the image above

s135.JPG

Fig. (135) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s136.JPG

Fig. (136) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s137.JPG

Fig. (137) Interaction page - Set the properties and enter the required data as in the image above

s138.JPG

Fig. (138) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s139.JPG

Fig. (139) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s140.JPG

Fig. (140) Interaction page - Set the properties and enter the required data as in the image above

s141.JPG

Fig. (141) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Control Structure)

                3 - Select the component (IF Statement)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (IF Statement)

                Note : Stop typing when you see the required component is selected

s142.JPG

Fig. (142) Component Browser – Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s143.JPG

Fig. (143) Interaction page - Set the properties and enter the required data as in the image above

s144.JPG

Fig. (144) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s145.JPG

Fig. (145) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s146.JPG

Fig. (146) Interaction page - Set the properties and enter the required data as in the image above

s147.JPG

Fig. (147) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s148.JPG

Fig. (148) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s149.JPG

Fig. (149) Interaction page - Set the properties and enter the required data as in the image above

s150.JPG

Fig. (150) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Control Structure)

                3 - Select the component (IF Statement)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (IF Statement)

                Note : Stop typing when you see the required component is selected

s151.JPG

Fig. (151) Component Browser – Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s152.JPG

Fig. (152) Interaction page - Set the properties and enter the required data as in the image above

s153.JPG

Fig. (153) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s154.JPG

Fig. (154) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s155.JPG

Fig. (155) Interaction page - Set the properties and enter the required data as in the image above

s156.JPG

Fig. (156) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Control Structure)

                3 - Select the component (IF Statement)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (IF Statement)

                Note : Stop typing when you see the required component is selected

s157.JPG

Fig. (157) Component Browser – Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s158.JPG

Fig. (158) Interaction page - Set the properties and enter the required data as in the image above

s159.JPG

Fig. (159) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (GUI Application)

                3 - Select the component (Show Message)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Show Message)

                Note : Stop typing when you see the required component is selected

s160.JPG

Fig. (160) Component Browser – Select the component (Show Message)

After selecting the component click Ok or press ENTER

s161.JPG

Fig. (161) Interaction page - Set the properties and enter the required data as in the image above

s162.JPG

Fig. (162) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s163.JPG

Fig. (163) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s164.JPG

Fig. (164) Interaction page - Set the properties and enter the required data as in the image above

s165.JPG

Fig. (165) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s166.JPG

Fig. (166) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s167.JPG

Fig. (167) Interaction page - Set the properties and enter the required data as in the image above

s168.JPG

Fig. (168) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Assignment)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Assignment)

                Note : Stop typing when you see the required component is selected

s169.JPG

Fig. (169) Component Browser – Select the component (Assignment)

After selecting the component click Ok or press ENTER

s170.JPG

Fig. (170) Interaction page - Set the properties and enter the required data as in the image above

s171.JPG

Fig. (171) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Numeric To String)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Numeric To String)

                Note : Stop typing when you see the required component is selected

s172.JPG

Fig. (172) Component Browser – Select the component (Numeric To String)

After selecting the component click Ok or press ENTER

s173.JPG

Fig. (173) Interaction page - Set the properties and enter the required data as in the image above

s174.JPG

Fig. (174) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Numeric To String)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Numeric To String)

                Note : Stop typing when you see the required component is selected

s175.JPG

Fig. (175) Component Browser – Select the component (Numeric To String)

After selecting the component click Ok or press ENTER

s176.JPG

Fig. (176) Interaction page - Set the properties and enter the required data as in the image above

s177.JPG

Fig. (177) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Numeric To String)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Numeric To String)

                Note : Stop typing when you see the required component is selected

s178.JPG

Fig. (178) Component Browser – Select the component (Numeric To String)

After selecting the component click Ok or press ENTER

s179.JPG

Fig. (179) Interaction page - Set the properties and enter the required data as in the image above

s180.JPG

Fig. (180) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (ALL Trim)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (ALL Trim)

                Note : Stop typing when you see the required component is selected

s181.JPG

Fig. (181) Component Browser – Select the component (ALL Trim)

After selecting the component click Ok or press ENTER

s182.JPG

Fig. (182) Interaction page - Set the properties and enter the required data as in the image above

s183.JPG

Fig. (183) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (ALL Trim)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (ALL Trim)

                Note : Stop typing when you see the required component is selected

s184.JPG

Fig. (184) Component Browser – Select the component (ALL Trim)

After selecting the component click Ok or press ENTER

s185.JPG

Fig. (185) Interaction page - Set the properties and enter the required data as in the image above

s186.JPG

Fig. (186) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (ALL Trim)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (ALL Trim)

                Note : Stop typing when you see the required component is selected

s187.JPG

Fig. (187) Component Browser – Select the component (ALL Trim)

After selecting the component click Ok or press ENTER

s188.JPG

Fig. (188) Interaction page - Set the properties and enter the required data as in the image above

s189.JPG

Fig. (189) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Textbox Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Textbox Class)

                Note : Stop typing when you see the required component is selected

s190.JPG

Fig. (190) Component Browser – Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s191.JPG

Fig. (191) Interaction page - Set the properties and enter the required data as in the image above

s192.JPG

Fig. (192) Interaction page - Set the properties and enter the required data as in the image above

s193.JPG

Fig. (193) Interaction page - Set the properties and enter the required data as in the image above

s194.JPG

Fig. (194) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Textbox Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Textbox Class)

                Note : Stop typing when you see the required component is selected

s195.JPG

Fig. (195) Component Browser – Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s196.JPG

Fig. (196) Interaction page - Set the properties and enter the required data as in the image above

s197.JPG

Fig. (197) Interaction page - Set the properties and enter the required data as in the image above

s198.JPG

Fig. (198) Interaction page - Set the properties and enter the required data as in the image above

s199.JPG

Fig. (199) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Textbox Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Textbox Class)

                Note : Stop typing when you see the required component is selected

s200.JPG

Fig. (200) Component Browser – Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s201.JPG

Fig. (201) Interaction page - Set the properties and enter the required data as in the image above

s202.JPG

Fig. (202) Interaction page - Set the properties and enter the required data as in the image above

s203.JPG

Fig. (203) Interaction page - Set the properties and enter the required data as in the image above

s204.JPG

Fig. (204) Goal Desginer - Steps Tree

Select the step (procedures)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Structure Programming)

                3 - Select the component (Define Procedure)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Define Procedure)

                Note : Stop typing when you see the required component is selected

s205.JPG

Fig. (205) Component Browser – Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s206.JPG

Fig. (206) Interaction page - Set the properties and enter the required data as in the image above

s207.JPG

Fig. (207) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Button Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Button Class)

                Note : Stop typing when you see the required component is selected

s208.JPG

Fig. (208) Component Browser – Select the component (Button Class)

After selecting the component click Ok or press ENTER

s209.JPG

Fig. (209) Interaction page - Set the properties and enter the required data as in the image above

s210.JPG

Fig. (210) Interaction page - Set the properties and enter the required data as in the image above

s211.JPG

Fig. (211) Interaction page - Set the properties and enter the required data as in the image above

s212.JPG

Fig. (212) Goal Desginer - Steps Tree

Select the step (procedures)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Structure Programming)

                3 - Select the component (Define Procedure)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Define Procedure)

                Note : Stop typing when you see the required component is selected

s213.JPG

Fig. (213) Component Browser – Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s214.JPG

Fig. (214) Interaction page - Set the properties and enter the required data as in the image above

s215.JPG

Fig. (215) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Get Date)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Get Date)

                Note : Stop typing when you see the required component is selected

s216.JPG

Fig. (216) Component Browser – Select the component (Get Date)

After selecting the component click Ok or press ENTER

s217.JPG

Fig. (217) Interaction page - Set the properties and enter the required data as in the image above

s218.JPG

Fig. (218) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Date To String)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Date To String)

                Note : Stop typing when you see the required component is selected

s219.JPG

Fig. (219) Component Browser – Select the component (Date To String)

After selecting the component click Ok or press ENTER

s220.JPG

Fig. (220) Interaction page - Set the properties and enter the required data as in the image above

s221.JPG

Fig. (221) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Sub String)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Sub String)

                Note : Stop typing when you see the required component is selected

s222.JPG

Fig. (222) Component Browser – Select the component (Sub String)

After selecting the component click Ok or press ENTER

s223.JPG

Fig. (223) Interaction page - Set the properties and enter the required data as in the image above

s224.JPG

Fig. (224) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Textbox Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Textbox Class)

                Note : Stop typing when you see the required component is selected

s225.JPG

Fig. (225) Component Browser – Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s226.JPG

Fig. (226) Interaction page - Set the properties and enter the required data as in the image above

s227.JPG

Fig. (227) Interaction page - Set the properties and enter the required data as in the image above

s228.JPG

Fig. (228) Interaction page - Set the properties and enter the required data as in the image above

s229.JPG

Fig. (229) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Sub String)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Sub String)

                Note : Stop typing when you see the required component is selected

s230.JPG

Fig. (230) Component Browser – Select the component (Sub String)

After selecting the component click Ok or press ENTER

s231.JPG

Fig. (231) Interaction page - Set the properties and enter the required data as in the image above

s232.JPG

Fig. (232) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Textbox Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Textbox Class)

                Note : Stop typing when you see the required component is selected

s233.JPG

Fig. (233) Component Browser – Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s234.JPG

Fig. (234) Interaction page - Set the properties and enter the required data as in the image above

s235.JPG

Fig. (235) Interaction page - Set the properties and enter the required data as in the image above

s236.JPG

Fig. (236) Interaction page - Set the properties and enter the required data as in the image above

s237.JPG

Fig. (237) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Variables)

                3 - Select the component (Sub String)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Sub String)

                Note : Stop typing when you see the required component is selected

s238.JPG

Fig. (238) Component Browser – Select the component (Sub String)

After selecting the component click Ok or press ENTER

s239.JPG

Fig. (239) Interaction page - Set the properties and enter the required data as in the image above

s240.JPG

Fig. (240) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Textbox Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Textbox Class)

                Note : Stop typing when you see the required component is selected

s241.JPG

Fig. (241) Component Browser – Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s242.JPG

Fig. (242) Interaction page - Set the properties and enter the required data as in the image above

s243.JPG

Fig. (243) Interaction page - Set the properties and enter the required data as in the image above

s244.JPG

Fig. (244) Interaction page - Set the properties and enter the required data as in the image above

s245.JPG

Fig. (245) Goal Desginer - Steps Tree

Select the step (Start Here)

We will start now new interaction process to generate new steps to our steps tree.

The slow way (Using Mouse):

                1 - Click Interact to open the components browser

                2 - Select the domain (Classes)

                3 - Select the component (Textbox Class)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Textbox Class)

                Note : Stop typing when you see the required component is selected

s246.JPG

Fig. (246) Component Browser – Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s247.JPG

Fig. (247) Interaction page - Set the properties and enter the required data as in the image above

s248.JPG

Fig. (248) Interaction page - Set the properties and enter the required data as in the image above

s249.JPG

Fig. (249) Interaction page - Set the properties and enter the required data as in the image above

s250.JPG

Fig. (250) Goal Desginer - Final Steps Tree

3 - Final Steps Tree

The First Step

                Define New Window ( win1 ) , Title : "Age Calculation sample by Ibrahim Abdelelah "

                                Window Events

                                Window Properties

                                                win1.Center ( )

                                Window Controls

                                                Define Label ( lbl1 ) , Caption : "DD"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl2 ) , Caption : "MM"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl3 ) , Caption : "YYYY"

                                                                Label Events

                                                                Label Properties

                                                Define TextBox ( text1 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define TextBox ( text2 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define TextBox ( text3 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define Label ( lbl5 ) , Caption : "Date of birth"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl6 ) , Caption : "Today Date"

                                                                Label Events

                                                                Label Properties

                                                Define TextBox ( text4 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define TextBox ( text5 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define TextBox ( text6 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define TextBox ( text7 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define TextBox ( text8 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define TextBox ( text9 )

                                                                TextBox EVENTS

                                                                TextBox Properties

                                                Define New Button ( btn1 ) , Caption : "Calculate"

                                                                Button Events

                                                                                Event: ON CLICK : Action calc

                                                                Button Properties

                                                Define Label ( L ) , Caption : "Age"

                                                                Label Events

                                                                Label Properties

                                                Define New Button ( btn2 ) , Caption : "Close"

                                                                Button Events

                                                                                Event: ON CLICK : Action myexit

                                                                Button Properties

                                End Of Window

                                Right-To-Left, Window "Win1"

                                Call Procedure dd

                                Activate window

procedures

                Define Procedure calc

                                Code Block

                                                t1 = CONVERT win1.text1.value TO Numeric

                                                t2 = CONVERT win1.text2.value TO Numeric

                                                t3 = CONVERT win1.text3.value TO Numeric

                                                t4 = CONVERT win1.text4.value TO Numeric

                                                t5 = CONVERT win1.text5.value TO Numeric

                                                t6 = CONVERT win1.text6.value TO Numeric

                                                IF ( t4>t1 )

                                                                Code Block

                                                                                t1 = t1+30

                                                                                t2 = t2-1

                                                                END OF IF STATEMENT

                                                IF ( t5>t2 )

                                                                Code Block

                                                                                t3 = t3-1

                                                                                t2 = t2+12

                                                                END OF IF STATEMENT

                                                p = t1-t4

                                                p1 = t2-t5

                                                p2 = t3-t6

                                                IF ( p>=30 )

                                                                Code Block

                                                                                p = p-30

                                                                                p1 = p1+1

                                                                END OF IF STATEMENT

                                                IF ( p1>12 )

                                                                Code Block

                                                                                p2 = p2+1

                                                                END OF IF STATEMENT

                                                IF ( t3<=0 .or. t6<=0 .or. p2<0 .or. p1><0 .or. t6>t3 .or. p<0 .or. t4>31 .or. (t4>29 .and. t5=2 ) .o

                                                                Start Here

                                                                                Show Message "Invalid parameters , check your data !!!" Title "Sorry" Type: Message Info

                                                                                p = 0

                                                                                p1 = 0

                                                                                p2 = 0

                                                                END OF IF STATEMENT

                                                p = CONVERT p TO STRING

                                                p1 = CONVERT p1 TO STRING

                                                p2 = CONVERT p2 TO STRING

                                                p = All Trim p

                                                p1 = All Trim p1

                                                p2 = All Trim p2

                                                win1.text7.Value := p

                                                win1.text8.Value := p1

                                                win1.text9.Value := p2

                                End of Procedure

                Define Procedure myexit

                                Code Block

                                                win1.Release ( )

                                End of Procedure

                Define Procedure dd

                                Code Block

                                                date = System Date of today

                                                date = CONVERT Date date TO String

                                                y = Sub String of date From 7 Count 10

                                                win1.text3.Value := y

                                                m = Sub String of date From 1 Count 2

                                                win1.text2.Value := m

                                                d = Sub String of date From 4 Count 2

                                                win1.text1.Value := d

                                                win1.text4.SetFocus ( )

                                End of Procedure

4 - Application during the runtime

runtime1.JPG

Fig. (251) Application during the runtime

runtime2.JPG

Fig. (252) Application during the runtime