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

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


Detailed Harbour Programming Language - Waseem Salem El-Mofty | Syria

Documentation

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 (Hello ,World) application using DetailedHarbourPWCT

2 - Implementation Steps

s1.JPG

Fig. (1) Goal Desginer - Steps Tree

Select the step (HMG Functions IntelliSense)

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

��������������� 3 - Select the component (HMG IntelliSense)

The fast way (Using Keyboard shortcuts):

��������������� 1 - Get the component using its name by typing (HMG IntelliSense)

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

s2.JPG

Fig. (2) Component Browser � Select the component (HMG IntelliSense)

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

Select the step (Include)

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

��������������� 3 - Select the component (Pre Include)

The fast way (Using Keyboard shortcuts):

��������������� 1 - Get the component using its name by typing (Pre Include)

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

s5.JPG

Fig. (5) Component Browser � Select the component (Pre Include)

After selecting the component click Ok or press ENTER

s6.JPG

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

s7.JPG

Fig. (7) Goal Desginer - Steps Tree

Select the step (Macro)

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

��������������� 3 - Select the component (CodeGenerator Macro)

The fast way (Using Keyboard shortcuts):

��������������� 1 - Get the component using its name by typing (CodeGenerator Macro)

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

s8.JPG

Fig. (8) Component Browser � Select the component (CodeGenerator Macro)

After selecting the component click Ok or press ENTER

s9.JPG

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

s10.JPG

Fig. (10) Goal Desginer - Steps Tree

Select the step (Main Function)

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

��������������� 3 - Select the component (Main Function)

The fast way (Using Keyboard shortcuts):

��������������� 1 - Get the component using its name by typing (Main Function)

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

s11.JPG

Fig. (11) Component Browser � Select the component (Main Function)

After selecting the component click Ok or press ENTER

s12.JPG

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

s13.JPG

Fig. (13) Component Browser � Select the component (Define New Window)

After selecting the component click Ok or press ENTER

s14.JPG

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

s15.JPG

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

s16.JPG

Fig. (16) Component Browser � Select the component (Window Class)

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

s19.JPG

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

s20.JPG

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

s21.JPG

Fig. (21) Component Browser � Select the component (Label)

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

3 - Final Steps Tree

HMG Functions IntelliSense

��������������� HMG Functions IntelliSense

Preprocessor

��������������� Include

��������������� ��������������� Pre : #Include "MiniGUI.CH"

��������������� Macro

��������������� ��������������� PWCT CodeGenerator - Macro [MainWindow] = [WinMain]

Main Function

��������������� MAIN FUNCTION

��������������� ��������������� Start Here

��������������� ��������������� ��������������� Define New Window ( WinMain ) , Title : "Hello World"

��������������� ��������������� ��������������� ��������������� Window Events

��������������� ��������������� ��������������� ��������������� Window Properties

��������������� ��������������� ��������������� ��������������� ��������������� %MainWindow%.Center( )

��������������� ��������������� ��������������� ��������������� Window Controls

��������������� ��������������� ��������������� ��������������� ��������������� Define Label ( lbl1 ) , Caption : "Hello World Application"

��������������� ��������������� ��������������� ��������������� ��������������� ��������������� Label Events

��������������� ��������������� ��������������� ��������������� ��������������� ��������������� Label Properties

��������������� ��������������� ��������������� ��������������� ��������������� Define Label ( lbl2 ) , Caption : "Using DetailedHarbourPWCT"

��������������� ��������������� ��������������� ��������������� ��������������� ��������������� Label Events

��������������� ��������������� ��������������� ��������������� ��������������� ��������������� Label Properties

��������������� ��������������� ��������������� ��������������� End Of Window

��������������� ��������������� ��������������� ��������������� Activate window

��������������� ��������������� End Of Main Function

4 - Application during the runtime