Home page | HwGUI 2.22 reference manual | |
prev | Alexander S.Kresin, December 2018 |
The Designer is intended to create/modify input screen forms and reports. It's main features are:
Few notes for HwGUI applications about using of some properties and methods:
Few notes about the reports builder. For a few years there was another report designer in HwGUI - HwReport. Now the Designer becomes the main report builder utility. It has more modern and advanced engine than Hwreport and, what is important, it is more easy to support one engine than two different :). The important point is that now the report builder may be integrated into the application and it is convenient, IMO, that the same code, the same module, linked into the application, implements two tasks - works with input forms and with reports. The compatibility with the *.rpt files, created with Hwreport, is implemented via the plugin ( resource/r_text.prg ) - you may open rpt files, choosing the 'plain text format' and then save them in a new format, which is exactly the same as for input forms. The new report engine uses a bit different approach than the old one. There are no 'markers' - the widget 'area' is used instead. You can convert any rpt file into the new format and you will see how these 'areas' are used. The 'area' has two main properties:
Learn more about HWGUI:
Compile and run the editorial in directory utils\tutorial
Interactive - because you
can not only read the code and comments, but execute it. Moreover,
you can edit the code and then execute it immediately to see the
results of your changes.
Source code and build scripts in directory "utils/debugger".
Build and usage instructions in text file "readme.eng",
also available in russian language as "readme.rus".
The main goal of this project is testing of a class HCEdiExt,
which is intended to be used for an embedded rich text editor in applications,
written on Harbour + HwGUI.
Read more in documentation of the editor.
You find source code and documentation in directory
"utils/editor".
For introduction read file "utils/editor/Readme.txt".
The "binary container" is a feature to avoid
lot's of small binary files in the installation directory
of your HWGUI application.
Only one container file is needed to collect them all.
This could be image files (*.ico, *.bmp, *.jpg, ...)
and other special binary files.
It is the best solution for multi platform applications,
for example to avoid the usage of the Windows resource
compiler.
The default file extension for binary container is *.bin.
The utility "Binary container manager" is for creating and editing
binary container and is placed
with source code and build scripts in directory "utils/bincnt".
For usage instructions see the inline comments of sample program
"samples/bincnts.prg".
See file "contrib/Readme.txt" for summary of contrib's.
Outdated.
Source code for ActiveX control library "libhwg_activex" in directory
contrib/activex.
The usage of this library is not recommended, because ActiveX is out of support.
Substituted by HTML5 and Java.
(Windows only)
Detailed description in text file "doc/activex.txt".
QHTM is a C++ library, which allows
to display and print HTML content in your application - on any window,
device context, on a report, on a button or in a tooltip. For more details look at
http://www.gipsysoft.com.
HwGUI provides an interface for this library. To use it, you need to download
QHTM from the
http://www.gipsysoft.com/qhtm/freedownload.shtml and copy qhtm.dll to the same
directory, where your application is.
Attention !!! QHTM is released under other license
than Harbour and HwGUI, so don't forget to read it before using !
@ <x>,<y> QHTM [ <oQhtm> ] [ CAPTION <caption> ] [ FILE <fname> ] [ RESOURCE <resname> ] [ OF <oWnd> ]; [ ID <nId> ] [ SIZE <width>, <height> ] [ ON INIT <bInit> ] [ ON SIZE <bSize> ] [ ON CLICK <bLink> ] [ ON SUBMIT <bSubmit> ] [ STYLE <nStyle> ]
This command creates QHTM control. Html content may be assigned in three ways:
REDEFINE QHTM [ <oQhtm> ] [ CAPTION <caption> ] [ FILE <fname> ] [ RESOURCE <resname> ] [ OF <oWnd> ]; ID <nId> [ ON INIT <bInit> ] [ ON SIZE <bSize> ] [ ON CLICK <bLink> ] [ ON SUBMIT <bSubmit> ]
This command redefines QHTM control from resources. Html content may be assigned in three ways the same three ways as in @ ... QHTM command.
@ <x>,<y> QHTMBUTTON [ <oButton> CAPTION ] <caption> [ OF <oWnd> ]; [ ID <nId> ] [ SIZE <width>, <height> ] [ ON INIT <bInit> ] [ ON SIZE <bSize> ] [ ON CLICK <bClick> ] [ STYLE <nStyle> ] [ FONT <oFont> ] [ TOOLTIP <ctoolt> ]
This command works exactly as @ ... BUTTON, but <caption> may include html content.
REDEFINE QHTMBUTTON <oButton> [ OF <oWnd> ] ID <nId> [ ON INIT <bInit> ] [ ON SIZE <bSize> ] [ ON CLICK <bClick> ] [ FONT <oFont> ] [ TOOLTIP <ctoolt> ]
This command works exactly as REDEFINE BUTTON, but <caption> may include html content.
QHTM_Init( [ cDllName ] )
QHTM_Message( cMessage [,cTitle ] [,nFlags ] )
QHTM_LoadFile( handle, cFileName )
QHTM_LoadRes( handle, cResourceName )
QHTM_AddHtml( handle, cText )
QHTM_GetTitle( handle )
QHTM_GetSize( handle )
QHTM_EnableCooltips()
QHTM_PrintCreateContext() --> hContext
QHTM_PrintSetText( hContext,cHtmlText )
QHTM_PrintSetTextFile( hContext,cFileName )
QHTM_PrintSetTextResource( hContext,cResourceName )
QHTM_PrintLayOut( hDC,hContext ) --> nNumberOfPages
QHTM_PrintPage( hDC,hContext,nPage )
QHTM_PrintDestroyContext( hContext )
Source code for library "libhwg_misc" in directory contrib/misc.
Additional Functions for:
- Convert arrays to string
- Encryption/Decryption functions, using BlowFish algorithm
- Misc functions:
ADDMETHOD()
ADDPROPERTY()
REMOVEPROPERTY()
hwg_SetAll()
- System for generating simple RTF files
- Functions for "Say Money":
English : SayDollar(nDollar)
Indonesia : SayRupiah(nRupiah)
(It seems, that the function SayDollar() could be also used for
other currencies like Euro's or british pounds sterling).
No detailed description available.
Source code for library "libhwg_extctrl" in directory contrib/ext_controls.
Extended class implementations:
- "HBrowseEx"
- "HComboBoxEx"
- "HStaticEx"
- "HButtonX"
- "HButtonEX"
- "HGroupEx"
- "HStatusEx"
- "HGridEX"
- "HContainerEx"
No detailed description available.
(Windows only)
Utility to create build files for Borland C (BCC55)
Build script:
bld.bat
Build program with:
bld.bat hwmake
(Windows and Borland C Compiler only)
Visual Report Builder by Alexander S. Kresin.
Create report forms for following using in
HWGUI applications. It a substitute for
the report functions of Clipper (RL.EXE).
For build and usage instructions see file
"contrib\hwreport\hwreport.txt".
The usage together with the WinPrn class will be checked as soon as possible
for validation with modern computers without (outdated) parallel printer interface
and platforms Windows and Linux.
HwGUI is released under the same license, as Harbour itself.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this software; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
As a special exception, you have permission for additional uses of the text contained in its release of HWGUI.
The exception is that, if you link the HWGUI library with other files to produce an executable, this does not by itself cause the resulting executable to be covered by the GNU General Public License. Your use of that executable is in no way restricted on account of linking the HWGUI library code into it.
prev | table of contents | |
classes |