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

2006-2013, 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 simple phone application using ADO (ActiveX Data Object).

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 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 (Grid Control)

The fast way (Using Keyboard shortcuts):

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

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

s6.JPG

Fig. (6) Component Browser Select the component (Grid Control)

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) Form Designer

s9.JPG

Fig. (9) 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

s10.JPG

Fig. (10) Component Browser Select the component (Button)

After selecting the component click Ok or press ENTER

s11.JPG

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

s12.JPG

Fig. (12) Form Designer

s13.JPG

Fig. (13) 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

s14.JPG

Fig. (14) Component Browser Select the component (Button Events)

After selecting the component click Ok or press ENTER

s15.JPG

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

s16.JPG

Fig. (16) 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

s17.JPG

Fig. (17) Component Browser Select the component (Button)

After selecting the component click Ok or press ENTER

s18.JPG

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

s19.JPG

Fig. (19) Form Designer

s20.JPG

Fig. (20) 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

s21.JPG

Fig. (21) Component Browser Select the component (Button Events)

After selecting the component click Ok or press ENTER

s22.JPG

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

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 (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

s24.JPG

Fig. (24) Component Browser Select the component (Button)

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 (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

s28.JPG

Fig. (28) Component Browser Select the component (Button Events)

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) 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

s31.JPG

Fig. (31) Component Browser Select the component (Button)

After selecting the component click Ok or press ENTER

s32.JPG

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

s33.JPG

Fig. (33) Form Designer

s34.JPG

Fig. (34) 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

s35.JPG

Fig. (35) Component Browser Select the component (Button Events)

After selecting the component click Ok or press ENTER

s36.JPG

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

s37.JPG

Fig. (37) 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 (Main Menu)

                3 - Select the component (Define Main Menu)

The fast way (Using Keyboard shortcuts):

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

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

s38.JPG

Fig. (38) Component Browser Select the component (Define Main Menu)

After selecting the component click Ok or press ENTER

s39.JPG

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

s40.JPG

Fig. (40) Goal Desginer - Steps Tree

Select the step (MENU POPUPS)

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 (Main Menu)

                3 - Select the component (Define POPUP)

The fast way (Using Keyboard shortcuts):

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

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

s41.JPG

Fig. (41) Component Browser Select the component (Define POPUP)

After selecting the component click Ok or press ENTER

s42.JPG

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

s43.JPG

Fig. (43) Goal Desginer - Steps Tree

Select the step (POPUP ITEMS)

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 (Main Menu)

                3 - Select the component (Define Item)

The fast way (Using Keyboard shortcuts):

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

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

s44.JPG

Fig. (44) Component Browser Select the component (Define Item)

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) Goal Desginer - Steps Tree

Select the step (Define New Window ( win1 ) , Title : "Using ADO")

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

s47.JPG

Fig. (47) Component Browser Select the component (Button Class)

After selecting the component click Ok or press ENTER

s48.JPG

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

s49.JPG

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

s50.JPG

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

s51.JPG

Fig. (51) Form Designer

s52.JPG

Fig. (52) Goal Desginer - Steps Tree

Select the step (Define New Window ( win1 ) , Title : "Using ADO")

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

s53.JPG

Fig. (53) Component Browser Select the component (Button Class)

After selecting the component click Ok or press ENTER

s54.JPG

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

s55.JPG

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

s56.JPG

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

s57.JPG

Fig. (57) Form Designer

s58.JPG

Fig. (58) Goal Desginer - Steps Tree

Select the step (Define New Window ( win1 ) , Title : "Using ADO")

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

s59.JPG

Fig. (59) Component Browser Select the component (Button Class)

After selecting the component click Ok or press ENTER

s60.JPG

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

s61.JPG

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

s62.JPG

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

s63.JPG

Fig. (63) Form Designer

s64.JPG

Fig. (64) 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

s65.JPG

Fig. (65) Component Browser Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s66.JPG

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

s67.JPG

Fig. (67) 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 (Structure Programming)

                3 - Select the component (Scope of Variable)

The fast way (Using Keyboard shortcuts):

                1 - Get the component using its name by typing (Scope of Variable)

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

s68.JPG

Fig. (68) Component Browser Select the component (Scope of Variable)

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) 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

s71.JPG

Fig. (71) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

s72.JPG

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

s73.JPG

Fig. (73) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s74.JPG

Fig. (74) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s75.JPG

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

s76.JPG

Fig. (76) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s77.JPG

Fig. (77) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s78.JPG

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

s79.JPG

Fig. (79) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s80.JPG

Fig. (80) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s81.JPG

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

s82.JPG

Fig. (82) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s83.JPG

Fig. (83) Component Browser Select the component (OLE Automation)

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 (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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s86.JPG

Fig. (86) Component Browser Select the component (OLE Automation)

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) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s89.JPG

Fig. (89) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s90.JPG

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

s91.JPG

Fig. (91) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s92.JPG

Fig. (92) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s93.JPG

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

s94.JPG

Fig. (94) 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

s95.JPG

Fig. (95) Component Browser Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s96.JPG

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

s97.JPG

Fig. (97) 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 (For Loop)

The fast way (Using Keyboard shortcuts):

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

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

s98.JPG

Fig. (98) Component Browser Select the component (For Loop)

After selecting the component click Ok or press ENTER

s99.JPG

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

s100.JPG

Fig. (100) 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

s101.JPG

Fig. (101) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

s102.JPG

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

s103.JPG

Fig. (103) 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

s104.JPG

Fig. (104) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

s105.JPG

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

s106.JPG

Fig. (106) 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

s107.JPG

Fig. (107) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

s108.JPG

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

s109.JPG

Fig. (109) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s110.JPG

Fig. (110) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s111.JPG

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

s112.JPG

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

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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s115.JPG

Fig. (115) Component Browser Select the component (OLE Automation)

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 (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

s118.JPG

Fig. (118) Component Browser Select the component (Button Class)

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) Interaction page - Set the properties and enter the required data as in the image above

s121.JPG

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

s122.JPG

Fig. (122) 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

s123.JPG

Fig. (123) Component Browser Select the component (Button Class)

After selecting the component click Ok or press ENTER

s124.JPG

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

s125.JPG

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

s126.JPG

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

s127.JPG

Fig. (127) 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

s128.JPG

Fig. (128) Component Browser Select the component (Button Class)

After selecting the component click Ok or press ENTER

s129.JPG

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

s130.JPG

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

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 (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

s133.JPG

Fig. (133) Component Browser Select the component (Button Class)

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) Interaction page - Set the properties and enter the required data as in the image above

s136.JPG

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

s137.JPG

Fig. (137) 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

s138.JPG

Fig. (138) Component Browser Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s139.JPG

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

s140.JPG

Fig. (140) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s141.JPG

Fig. (141) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s142.JPG

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

s143.JPG

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

s144.JPG

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

s145.JPG

Fig. (145) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s146.JPG

Fig. (146) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s147.JPG

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

s148.JPG

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

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 (Classes)

                3 - Select the component (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s151.JPG

Fig. (151) Component Browser Select the component (Grid Class)

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) Interaction page - Set the properties and enter the required data as in the image above

s154.JPG

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

s155.JPG

Fig. (155) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s156.JPG

Fig. (156) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s157.JPG

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

s158.JPG

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

s159.JPG

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

s160.JPG

Fig. (160) 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

s161.JPG

Fig. (161) Component Browser Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s162.JPG

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

s163.JPG

Fig. (163) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s164.JPG

Fig. (164) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s165.JPG

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

s166.JPG

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

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 (Classes)

                3 - Select the component (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s169.JPG

Fig. (169) Component Browser Select the component (Grid Class)

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) Interaction page - Set the properties and enter the required data as in the image above

s172.JPG

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

s173.JPG

Fig. (173) 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

s174.JPG

Fig. (174) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

s175.JPG

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

s176.JPG

Fig. (176) 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

s177.JPG

Fig. (177) Component Browser Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s178.JPG

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

s179.JPG

Fig. (179) 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

s180.JPG

Fig. (180) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

s181.JPG

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

s182.JPG

Fig. (182) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s183.JPG

Fig. (183) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s184.JPG

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

s185.JPG

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

s186.JPG

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

s187.JPG

Fig. (187) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s188.JPG

Fig. (188) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s189.JPG

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

s190.JPG

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

s191.JPG

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

s192.JPG

Fig. (192) 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

s193.JPG

Fig. (193) Component Browser Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s194.JPG

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

s195.JPG

Fig. (195) Goal Desginer - Steps Tree

Select the step (Delete All Records)

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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s196.JPG

Fig. (196) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s197.JPG

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

s198.JPG

Fig. (198) Goal Desginer - Steps Tree

Select the step (Delete All Records)

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

s199.JPG

Fig. (199) Component Browser Select the component (IF Statement)

After selecting the component click Ok or press ENTER

s200.JPG

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

s201.JPG

Fig. (201) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s202.JPG

Fig. (202) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

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 (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 (For Loop)

The fast way (Using Keyboard shortcuts):

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

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

s205.JPG

Fig. (205) Component Browser Select the component (For Loop)

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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s208.JPG

Fig. (208) Component Browser Select the component (OLE Automation)

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) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s211.JPG

Fig. (211) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s212.JPG

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

s213.JPG

Fig. (213) Goal Desginer - Steps Tree

Select the step (Add records from grid to recordset)

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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s214.JPG

Fig. (214) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s215.JPG

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

s216.JPG

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

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 (Add records from grid to recordset)

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

s219.JPG

Fig. (219) Component Browser Select the component (IF Statement)

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 (Control Structure)

                3 - Select the component (For Loop)

The fast way (Using Keyboard shortcuts):

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

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

s222.JPG

Fig. (222) Component Browser Select the component (For Loop)

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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s225.JPG

Fig. (225) Component Browser Select the component (OLE Automation)

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) 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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s228.JPG

Fig. (228) Component Browser Select the component (Grid Class)

After selecting the component click Ok or press ENTER

s229.JPG

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

s230.JPG

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

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 (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s233.JPG

Fig. (233) Component Browser Select the component (Grid 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 (Classes)

                3 - Select the component (Grid Class)

The fast way (Using Keyboard shortcuts):

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

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

s238.JPG

Fig. (238) Component Browser Select the component (Grid Class)

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) Interaction page - Set the properties and enter the required data as in the image above

s241.JPG

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

s242.JPG

Fig. (242) 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

s243.JPG

Fig. (243) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

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 (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

s246.JPG

Fig. (246) Component Browser Select the component (Assignment)

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) 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

s249.JPG

Fig. (249) Component Browser Select the component (Assignment)

After selecting the component click Ok or press ENTER

s250.JPG

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

s251.JPG

Fig. (251) 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 (Tools & Extensions)

                3 - Select the component (OLE Automation)

The fast way (Using Keyboard shortcuts):

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

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

s252.JPG

Fig. (252) Component Browser Select the component (OLE Automation)

After selecting the component click Ok or press ENTER

s454.JPG

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

s254.JPG

Fig. (254) 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

s255.JPG

Fig. (255) Component Browser Select the component (Show Message)

After selecting the component click Ok or press ENTER

s256.JPG

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

s257.JPG

Fig. (257) 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

s258.JPG

Fig. (258) Component Browser Select the component (Define Procedure)

After selecting the component click Ok or press ENTER

s259.JPG

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

s260.JPG

Fig. (260) 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 (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

s261.JPG

Fig. (261) Component Browser Select the component (Window Class)

After selecting the component click Ok or press ENTER

s262.JPG

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

s263.JPG

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

s264.JPG

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

s265.JPG

Fig. (265) Goal Desginer - Final Steps Tree

3 - Final Steps Tree

The First Step

                Define New Window ( win1 ) , Title : "Using ADO"

                                Window Events

                                Window Properties

                                Window Controls

                                                Define New Grid ( Grid1 ) , HEADERS : {"Name","Address","Phone"}

                                                                Events

                                                                Properties

                                                Define New Button ( btnGetdata ) , Caption : "Connect to the database then get data"

                                                                Button Events

                                                                                Event: ON CLICK : Action mygetdata()

                                                                Button Properties

                                                Define New Button ( btnAdd ) , Caption : "Add"

                                                                Button Events

                                                                                Event: ON CLICK : Action myadd()

                                                                Button Properties

                                                Define New Button ( btnDelete ) , Caption : "Delete"

                                                                Button Events

                                                                                Event: ON CLICK : Action mydelete()

                                                                Button Properties

                                                Define New Button ( btnupdate ) , Caption : "Update data"

                                                                Button Events

                                                                                Event: ON CLICK : Action myupdate()

                                                                Button Properties

                                                START OF MAIN MENU

                                                                MENU POPUPS

                                                                                DEFINE POPUP "File"

                                                                                                POPUP ITEMS

                                                                                                                Define ITEM ( "Exit" )

                                                                                                END OF POPUP

                                                                END OF MAIN MENU

                                End Of Window

                                win1.btnadd.Enabled := False

                                win1.btndelete.Enabled := False

                                win1.btnupdate.Enabled := False

                                Activate window

Procedures

                Define Procedure mygetdata

                                Start Here

                                                Public oConnection,oRS

                                                constr = 'Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="dsn=MS Access Database;uid=";Initial Catalog=test.mdb'

                                                Create OLE Object oConnection of Type "ADODB.Connection"

                                                oConnection.open ( ConStr )

                                                Create OLE Object oRS of Type "ADODB.Recordset"

                                                oRS.CursorType := 1

                                                oRS.ActiveConnection := oConnection

                                                oRS.open ( "SELECT * from MainTable",oConnection,3,3 )

                                                mycount = oRS.recordcount

                                                IF ( mycount > 0 )

                                                                Start Here

                                                                                FOR LOOP ( From x = 1 To mycount Step 1)

                                                                                                Start Here

                                                                                                                cName = oRS:fields:item('name'):value

                                                                                                                cAddress = oRS:fields:item('address'):value

                                                                                                                cPhone = oRS:fields:item('phone'):value

                                                                                                                win1.grid1.AddItem ( {cName,cAddress,cPhone} )

                                                                                                                oRS.movenext ( )

                                                                                                End of For Loop

                                                                END OF IF STATEMENT

                                                win1.btngetdata.Enabled := False

                                                win1.btnadd.Enabled := True

                                                win1.btndelete.Enabled := True

                                                win1.btnupdate.Enabled := True

                                End of Procedure

                Define Procedure myadd

                                Start Here

                                                win1.grid1.AddItem ( {"","",""} )

                                                mycount = win1.grid1.ItemCount

                                                win1.grid1.Value := mycount

                                                win1.grid1.SetFocus ( )

                                End of Procedure

                Define Procedure mydelete

                                Start Here

                                                myitem = win1.grid1.Value

                                                win1.grid1.DeleteItem ( myitem )

                                                myitem = myitem - 1

                                                IF ( myitem < 0 )

                                                                Start Here

                                                                                myitem = 0

                                                                END OF IF STATEMENT

                                                win1.grid1.Value := myitem

                                                win1.grid1.SetFocus ( )

                                End of Procedure

                Define Procedure myupdate

                                Start Here

                                                Delete All Records

                                                                mycount = oRS.recordcount

                                                                IF ( mycount > 0 )

                                                                                Start Here

                                                                                                oRS.movefirst ( )

                                                                                                FOR LOOP ( From x = 1 To mycount Step 1)

                                                                                                                Start Here

                                                                                                                                oRS.Delete ( )

                                                                                                                                oRS.movenext ( )

                                                                                                                End of For Loop

                                                                                END OF IF STATEMENT

                                                Add records from grid to recordset

                                                                mycount = win1.grid1.ItemCount

                                                                IF ( mycount > 0 )

                                                                                Start Here

                                                                                                FOR LOOP ( From x = 1 To mycount Step 1)

                                                                                                                Start Here

                                                                                                                                oRS.addnew ( )

                                                                                                                                cName = win1.grid1.cell(x,1)

                                                                                                                                cAddress = win1.grid1.cell(x,2)

                                                                                                                                cPhone = win1.grid1.cell(x,3)

                                                                                                                                oRS:fields:item('name'):value = cName

                                                                                                                                oRS:fields:item('address'):value = cAddress

                                                                                                                                oRS:fields:item('phone'):value = cPhone

                                                                                                                End of For Loop

                                                                                                oRS.update ( )

                                                                                                Show Message "Operation done !!" Title "Ok" Type: Message Box

                                                                                END OF IF STATEMENT

                                End of Procedure

                Define Procedure myexit

                                Start Here

                                                win1.Release ( )

                                End of Procedure

4 - Application during the runtime

runtime1.JPG

Fig. (266) Application during the runtime