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 learn how to create the Time Information 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 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 (Windows)

                3 - Select the component (Window Events)

The fast way (Using Keyboard shortcuts):

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

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

s6.JPG

Fig. (6) Component Browser Select the component (Window Events)

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

s10.JPG

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

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

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

s24.JPG

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

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

s36.JPG

Fig. (36) Component Browser Select the component (TextBox)

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

s44.JPG

Fig. (44) Component Browser Select the component (Label)

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

s48.JPG

Fig. (48) Component Browser Select the component (Label)

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

s64.JPG

Fig. (64) Component Browser Select the component (Label)

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

s68.JPG

Fig. (68) Component Browser Select the component (Label)

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

s72.JPG

Fig. (72) Component Browser Select the component (Label)

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

s75.JPG

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

The fast way (Using Keyboard shortcuts):

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

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

s76.JPG

Fig. (76) Component Browser Select the component (Timer)

After selecting the component click Ok or press ENTER

s77.JPG

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

s78.JPG

Fig. (78) Form Designer

s79.JPG

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

s80.JPG

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

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

                3 - Select the component (Get Time)

The fast way (Using Keyboard shortcuts):

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

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

s83.JPG

Fig. (83) Component Browser Select the component (Get Time)

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

s86.JPG

Fig. (86) Component Browser Select the component (Sub String)

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

s89.JPG

Fig. (89) Component Browser Select the component (Textbox Class)

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

s92.JPG

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

s93.JPG

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

s94.JPG

Fig. (94) Component Browser Select the component (Sub String)

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

s97.JPG

Fig. (97) Component Browser Select the component (Textbox Class)

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

s100.JPG

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

s101.JPG

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

s102.JPG

Fig. (102) Component Browser Select the component (Sub String)

After selecting the component click Ok or press ENTER

s103.JPG

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

s104.JPG

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

s105.JPG

Fig. (105) Component Browser Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s106.JPG

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

s107.JPG

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

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

s110.JPG

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

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

s113.JPG

Fig. (113) Component Browser Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s114.JPG

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

s115.JPG

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

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

s118.JPG

Fig. (118) Component Browser Select the component (Textbox 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 (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

s123.JPG

Fig. (123) Component Browser Select the component (Textbox 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 (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

s128.JPG

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

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

s131.JPG

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

After selecting the component click Ok or press ENTER

s132.JPG

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

s133.JPG

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

s134.JPG

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

After selecting the component click Ok or press ENTER

s135.JPG

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

s136.JPG

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

s137.JPG

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

After selecting the component click Ok or press ENTER

s138.JPG

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

s139.JPG

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

s140.JPG

Fig. (140) Component Browser Select the component (ALL Trim)

After selecting the component click Ok or press ENTER

s141.JPG

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

s142.JPG

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

s143.JPG

Fig. (143) Component Browser Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s144.JPG

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

s145.JPG

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

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

s148.JPG

Fig. (148) Component Browser Select the component (Textbox Class)

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

s151.JPG

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

s152.JPG

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

s153.JPG

Fig. (153) Component Browser Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s154.JPG

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

s155.JPG

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

s156.JPG

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

s157.JPG

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

s158.JPG

Fig. (158) Component Browser Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s159.JPG

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

s160.JPG

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

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

s163.JPG

Fig. (163) Component Browser Select the component (Textbox Class)

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

The fast way (Using Keyboard shortcuts):

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

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

s168.JPG

Fig. (168) Component Browser Select the component (Label Class)

After selecting the component click Ok or press ENTER

s169.JPG

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

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

s173.JPG

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

After selecting the component click Ok or press ENTER

s174.JPG

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

s175.JPG

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

s176.JPG

Fig. (176) Component Browser Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s177.JPG

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

s178.JPG

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

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

s181.JPG

Fig. (181) Component Browser Select the component (Textbox Class)

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

s184.JPG

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

s185.JPG

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

s186.JPG

Fig. (186) Component Browser Select the component (Textbox Class)

After selecting the component click Ok or press ENTER

s187.JPG

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

s188.JPG

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

s189.JPG

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

s190.JPG

Fig. (190) 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 (Label Class)

The fast way (Using Keyboard shortcuts):

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

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

s191.JPG

Fig. (191) Component Browser Select the component (Label Class)

After selecting the component click Ok or press ENTER

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

s196.JPG

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

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

s199.JPG

Fig. (199) Component Browser Select the component (Call Procedure)

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

s202.JPG

Fig. (202) Component Browser Select the component (Call Procedure)

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 - Final Steps Tree

3 - Final Steps Tree

The First Step

                Define New Window ( win1 ) , Title : "Time Information sample - by Ibrahim Abdelelah"

                                Window Events

                                                Event: ON INIT : Action ShowTime

                                Window Properties

                                                win1.Center ( )

                                Window Controls

                                                Define Label ( lbl1 ) , Caption : "S"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl2 ) , Caption : "M"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl3 ) , Caption : "H"

                                                                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 ( lbl4 ) , Caption : "S"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl5 ) , Caption : "M"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl6 ) , Caption : "H"

                                                                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 Label ( lbl7 ) , Caption : "24 hours system"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl8 ) , Caption : "12 hours system"

                                                                Label Events

                                                                Label Properties

                                                Define Label ( lbl9 ) , Caption : ""

                                                                Label Events

                                                                Label Properties

                                                Define Timer ( Timer1 )

                                End Of Window

                                Activate window

Procedures

                Define Procedure thetime

                                Start Here

                                                mytime = System Time

                                                h = Sub String of mytime From 1 Count 2

                                                win1.text3.Value := h

                                                m = Sub String of mytime From 4 Count 2

                                                win1.text2.Value := m

                                                s = Sub String of mytime From 7 Count 2

                                                win1.text1.Value := s

                                End of Procedure

                Define Procedure thetime1

                                Start Here

                                                h1 = win1.text3.Value

                                                m1 = win1.text2.Value

                                                s1 = win1.text1.Value

                                                h1 = CONVERT h1 TO Numeric

                                                IF ( h1>12 .OR. (h1=12 .and. m1>0 ) .OR. (h1=12 .and. s1>0 ) )

                                                                Start Here

                                                                                h2 = h1-12

                                                                                h2 = CONVERT h2 TO STRING

                                                                                h2 = All Trim h2

                                                                                win1.text6.Value := h2

                                                                                m1 = win1.text2.Value

                                                                                win1.text5.Value := m1

                                                                                s1 = win1.text1.Value

                                                                                win1.text4.Value := s1

                                                                                win1.lbl9.Value := "PM"

                                                                ELSE

                                                                                Start Here

                                                                                                h1 = CONVERT h1 TO STRING

                                                                                                win1.text6.Value := h1

                                                                                                win1.text5.Value := m1

                                                                                                win1.text4.Value := s1

                                                                                                win1.lbl9.Value := "AM"

                                                                END OF IF STATEMENT

                                End of Procedure

                Define Procedure ShowTime

                                Start Here

                                                Call Procedure thetime

                                                Call Procedure thetime1

                                End of Procedure

4 - Application during the runtime

runtime1.JPG

Fig. (205) Application during the runtime