Clipper Tutorial: a Guide to Open Source Clipper(s)/Making Up a User Interface

=Text (Console) Interfaces=

The easiest way is to use the basic I/O commands.

Next comes the GT (Graphic Terminal) system (rough descriptions at http://harbourlanguage.blogspot.it/2010/04/harbour-gt.html and https://github.com/vszakats/harbour-core/blob/master/doc/gtapi.txt). Let us start with two simple examples.

Here is an example taken directly from the Harbour documentation:

This example introduces the command

SET MESSAGE TO [ [CENTER]]
 * Extablishes a message row for @...PROMPT command


 * GTWVT
 * GTWVW (hb30\examples\gtwvw)
 * GTWVG (by Giovanni di Maria) http://www.elektrosoft.it/tutorials/gtwvg/gtwvg.asp

=GUI Design=

Getting A Library
This section focuses on the use of some libraries for producing a Graphical User Interface.

Commercial software is, for instance, Fivewin for Harbour (FWH)
 * FiveWin is original a library for Clipper 5 which you ... More info can be found here: https://www.fivetechsoft.com/english/index.php

HwGUI
The latest HwGUI version needs the nightly build of Harbour.

HMG-IDE (by Roberto Lopez)
Download following link at https://sites.google.com/site/hmgweb/

Run the executable file C:\hmg.3.4.0\IDE\IDE.exe

The first example to get started follows.

and save the file
 * Select the menu File | New Project
 * and give it a name such as "first"
 * change the Form Title with "First Test" using the Object Inspector Properties tab
 * select a Button and put it on the form
 * change the Button Caption with "Click me for a test!" using the Object Inspector Properties tab
 * select the Events tab of the Object Inspector and type in "ClickTest" in the Value field corresponding to the Action event
 * select Modules in the Project Browser window and double click on main.prg
 * add the following code
 * Punch the F5 key, or select the menu Project | Run, or select the Run button on the Control Panel

The program to edit source code is defined under Tools | Preferences. I find myself at ease with SciTE (https://www.scintilla.org/SciTEDownload.html).

See http://www.elektrosoft.it/tutorials/hmg/hmg.asp

HMG-IDE (by Walter Formigoni)
http://hmgs-minigui.sourceforge.net/