Showing posts with label Harbour MiniGUI. Show all posts
Showing posts with label Harbour MiniGUI. Show all posts

Friday, December 14, 2012

Harbour MiniGUI Extended Edition 2.1.8 (Christmas Edition) Released on 12th December 2012

Hi All,

The Harbour MiniGUI Extended Edition 2.1.8 (Christmas Edition) setup is published
at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-2.1.8-setup.zip

and a full MinGW-based self-extracting archive is placed at the following URL:

http://hmgextended.com/files/CONTRIB/hmg218-mingw.exe

There is the following changelog for this build:

2012/12/12: HMG Extended Edition 2.1.8 (Christmas Edition) Published.
* Fixed: Program crash at xHarbour-based build when you change the value in
a Pictured GetBox by painting the old value with the mouse and then
overwriting, replace with a new value (introduced in the build 2.1.7).
Problem was reported by Jan Costiander <jan.costiander@gmail.com>.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
* New: Added command DEFINE WINDOW TEMPLATE ... MDICHILD.
Requested by Fernando Maciel <macielfernando@yahoo.com.ar>.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see demo in folder \samples\Basic\mdi_4)
* Changed: The client area of form is refreshed automatically if a codeblock
of 'On Paint' event is defined for this window.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
* Changed: Positioning of a caretpos to first char in the Getbox when user
mouse click in the middle of this control.
Contributed by Alfredo Franceschetti <franz@valgraveglia.net>
(see demo in folder \samples\Basic\GetBox)
* Enhanced: Added 'VCENTERALIGN' clause (optional) for vertical aligning of
text in the LABEL control.
Based upon a contribution of Russian user SergKis
(see demo in folder \samples\Basic\MAINDEMO_(
SYNTAX_I))
* Updated: PRG-code was formatted by Harbour contrib hbformat utility with
the following exceptions:
- h_windows.prg provoked hbformat crash;
- h_edit.prg and h_edit_ex.prg were leaved with original formatting.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
* Updated: C-code changes for compatibility with older xHarbour versions.
Warning: It will required a presence of the proper header file
hbverbld.h in the xHarbour's \include folder.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
* Updated: C-code of FOLDER control was modified for the correct positioning
of the buttons, depending on the version of Windows.
Contributed by Janusz Pora <januszpora@onet.eu>
(see demo in folder \samples\Basic\Folder)
* Updated: HBPrinter library v.2.36: updated 'Print Options' dialog's look.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see source in folder \source\HbPrinter)
* Updated: MiniPrint library: updated C-code casting.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see source in folder \Source\MiniPrint)
* Updated: PropGrid library v.2.0 (see source in folder \source\PropGrid):
- Fixed: Item type LIST: did not work properly saving without leaving items.
Contributed by Janusz Pora <januszpora@onet.eu>
* Updated: Harbour Compiler 3.2.0dev (SVN 2012-12-04 14:14):
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3);
* Updated: HbODBC library source code (see in folder \Source\HbODBC).
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(look at ReadMe.txt in folder \harbour)
* New: 'Bos Taurus' Graphics Library v.1.02 (see Doc folder for details).
Contributed by Claudio Soto <srvet@adinet.com.uy>. Samples were
adapted for Minigui Extended by Grigory Filatov <gfilatov@inbox.ru>
(see in folder \samples\Advanced\BosTaurus)
* Updated: 'CheckBox events' sample.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see in folder \samples\Basic\Checkbox)
* Updated: 'HPDF Print' sample is based upon the Haru Free PDF library:
- New: Added optional clause ANGLE to HPDFPRINT MULTILINE command.
- Fixed: STRIKEOUT and UNDERLINE options also works in MULTILINE command.
Contributed by Janusz Pora <januszpora@onet.eu>.
(see in folder \samples\Advanced\PDF_PRINT)
* Updated: 'WebCam Capture' sample (look at avicap.txt for description).
Based upon a contribution of Marcelo Brigatti <mbrigatti@uol.com.br>.
(see in folder \samples\Advanced\WebCam)
* Updated: 'Managing reservations rooms' sample.
Contributed by Pierpaolo Martinello alice.it
>
(see in folder \samples\Applications\Reservation)
* Updated: 'Code_ReIndent' sample by Joe Fanucchi <fantasyspinner2002@yahoo.com>.
Based upon a contribution of HMGFORUM's user
(see \Utils\Code_ReIndent\Indent.prg)

There is a last minute update in this build also:
* Updated: WinReport library (see source in folder \Source\WinReport).
Contributed by Pierpaolo Martinello alice.it>
(see demo in folder \samples\Advanced\REPORT_INTERPRETER)

It is a regularly scheduled monthly maintenance release.

This release is considered stable and ready for production use.

--
With Best Regards,
Grigory Filatov
[MiniGUI Team]

Tuesday, January 24, 2012

Harbour MiniGUI Extended Edition 2.0.6 Released 24th january 2012

Hi All,

The Harbour MiniGUI Extended Edition 2.0.6 setup is published at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-2.0.6-setup.zip

and the lite MinGW-based archive is placed at the following URL:

http://hmgextended.com/files/CONTRIB/hmg206-mingw.zip

There is the following changelog for this build:

2012/01/24: HMG Extended Edition 2.0.6 Published.
* Changed: The BTNTEXTBOX control code was rewritten for improvement:
- Modified: a real Buttons supports themed look now;
- Modified: separated Tooltips for the edit box and buttons;
- Modified: added changing of buttons picture at runtime:
Form.BtnTextBox.Picture := "demo.bmp" // 1 button
Form.BtnTextBox.Picture := {"demo.bmp","demo2.bmp"} // 2 buttons
- New: Additional clause DEFAULT activating the ENTER key for button 1 action.
Contributed by Janusz Pora <januszpora@onet.eu>
(see demos in folders \samples\Basic\BtnTextBox and
\samples\Basic\BtnTextBox_2)
* Enhanced: The GetBox control supports a built-in buttons with separated tooltips.
Contributed by Janusz Pora <januszpora@onet.eu>
(see demo in folder \samples\Basic\GetBox)
* Updated: HBPrinter library v.2.28 (see source in folder \source\HbPrinter):
- Fixed: C-code cleaning for warnings with MinGW32.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
* Updated: PropGrid library v.2.0 (see source in folder \source\PropGrid):
- New: Added Property Item type PASSWORD.
Contributed by Janusz Pora <januszpora@onet.eu>
(see demo2.prg and demo3.prg in folder \samples\Advanced\PropGrid)
* Updated: Adaptation FiveWin Class TSBrowse 9.0 in HMG:
- Fixed: Correction for display of the background in the Header for option SELECTOR.
Problem was reported by Simon Norbert <simon.n@t-online.hu>.
- Fixed: Problem with append a record if the Selector is enabled.
Problem was reported by Jayadev <jayadev65@yahoo.com>.
- New: Added SQLite support via harbour HbSqlDD contrib library.
(see demo in folder \samples\Advanced\Tsb_sqlite)
Contributed by Janusz Pora <januszpora@onet.eu>
* Updated: Harbour Compiler 3.1.0dev (SVN 2012-01-18 12:02).
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(look at ReadMe.txt in folder \harbour)
* Updated: HMGS-IDE v.1.1.0.3 Project Manager and Two-Way Visual Form Designer:
- Fixed: typo in the function LoadProp() (introduced in version 1.1);
- Fixed: typo in the function NewModule() (introduced in version 1.1).
Contribution by Grigory Filatov <gfilatov@inbox.ru>
* New: HbSQLite3 library for xHarbour compiler (see in folder \Source\xHbSQLite3).
Contribution by Richard Visscher <richard@irvis.com>
(see in folder MiniGUI\xLib in xharbour build)
* New: 'WebCam Capture' sample (look at avicap.txt for description).
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see in folder \samples\Advanced\WebCam)
* Updated: 'Cargo usage' sample.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see in folder \samples\Basic\Cargo)
* Updated: 'Mail With Blat' sample:
- Updated: blat dll to 2.7.6 version.
Contributed by Grigory Filatov <gfilatov@inbox.ru>
(see in folder \samples\Advanced\BlatMail)
* Updated: 'HMG IDE Demo' sample:
- added the all properties and events for controls to inspector's window;
- added the possibilities of moving/resizing of controls to context menu
at right mouse click.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@inbox.ru>
(see in folder \samples\Advanced\hmgide)

This release of MiniGUI is considered stable and ready for production use.

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Monday, December 26, 2011

Updated HMGS-IDE 1.1.0.3 Beta - 26th December 2011

Hi All,

The updated HMGS-IDE 1.1.0.3 Beta binary and sources with minor fixes are published at the following URL:
http://www.hmgextended.com/files/HMGS-IDE/ide.zip

You can update this build via clicking 'Update' menuitem in the main
menu 'Help'.

--
Kind Regards,
Grigory Filatov
[MiniGUI Team]

Wednesday, November 23, 2011

Harbour MiniGUI Extended Edition 2.0.4 Released on 23 Nov 2011

Hi All,

The Harbour MiniGUI Extended Edition 2.0.4 setup is published at the following
URL:

http://hmgextended.com/files/CONTRIB/hmg-2.0.4-setup.zip

and the lite MinGW-based archive is placed at the following URL:

http://hmgextended.com/files/CONTRIB/hmg204-mingw.zip

There is the following changelog for this build:

2011/11/23: HMG Extended Edition 2.0.4 Published.
* Enhanced: COMPRESS and UNCOMPRESS commands supports an optional
FILEPROGRESS clause.
Syntax:
- COMPRESS "MyBase.dbf" TO "Backup.zip" ;
BLOCK {|cFile, nPos| ProgressUpdate(cFile, nPos)} ;
FILEPROGRESS {|nPos, nTotal| ProgressFile(nPos, nTotal)}
- UNCOMPRESS "Backup.zip" EXTRACTPATH ".\" ;
BLOCK {|cFile, nPos| ProgressUpdate(cFile, nPos)} ;
FILEPROGRESS {|nPos, nTotal| ProgressFile(nPos, nTotal)}
Contributed by Grigory Filatov <gfilatov@...>
(see demo2.prg in folder \samples\Basic\Zip)
* Changed: Image scale in the PRINT GRAPH command is a similar at WinXP now
as in the other OS. Modified an image aspect ratio for HbPrinter
library.
Contributed by Grigory Filatov <gfilatov@...>
(see demo2.prg in folder \samples\Basic\GraphPrint)
* Updated: HBPrinter library v.2.27 (see source in folder \source\HbPrinter):
- Fixed: revised unlock global vars in the printer dialog C-code.
- Fixed: revised using of font 'Arial Narrow' in the preview toolbar.
Problem was reported by Gyula Bartal <gybartal@...>.
Contributed by Grigory Filatov <gfilatov@...>
* New: SQLite3Facade library source code (see in folder
\Source\SQLite3Facade).
This library provides a convenient interface that make easy the most
common operations. Contributed by Daniel Goncalves

Adapted for Minigui Extended by Grigory Filatov <gfilatov@...>
(see demo in folder \samples\Advanced\SQLITE_3)
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3):
- update for using SQLITE3 version 3.7.9.
Contributed by Grigory Filatov <gfilatov@...>
* Updated: WinReport library (see source in folder \Source\WinReport).
Contributed by Pierpaolo Martinello
(see demo in folder \samples\Advanced\REPORT_INTERPRETER)
* Updated: PropGrid library v.2.0 (see source in folder \source\PropGrid):
- New: Added optional buttons OK, APPLY, CANCEL and HELP:
Syntax:
OKBTN [ USEROKPROC ] [ APPLYBTN ]
CANCELBTN [ USERCANCELPROC ]
HELPBTN
- Changed: Changing the structure of control, elements of
PropertyGrid are now common parent.
- Changed: Some internal functions received a new names, and
improvements were introduced.
Contributed by Janusz Pora <januszpora@...>
(see demo3.prg in folder \samples\Advanced\PropGrid)
* Updated: Adaptation FiveWin Class TSBrowse 9.0 in HMG:
- Fixed: wrong cursor position at Win7 (in the example Tsbrowse 9.0->
Excel Test).
Contributed by Janusz Pora <januszpora@...>
* Updated: Harbour Compiler 3.1.0dev (SVN 2011-11-15 23:28).
Contributed by Grigory Filatov <gfilatov@...>
(look at ReadMe.txt in folder \harbour)
* New: 'Cuckoo Clock' sample.
Based upon a contribution by Bicahi Esgici <esgici@...>.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\CuckooClock)
* Updated: 'AVI Animation' sample:
- ANIMATERES control was defined as user component;
- used avi resource is stored as appls resource.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\AVI_Animation)
* Updated: 'Get Fonts' sample: minor change.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\GetFonts)
* Updated: 'RicheditEx' samples: fixed text search at WinXP and later.
Based upon a contribution of Fernando Yurisich
<fernando.yurisich@...>
(see in folders \samples\Advanced\RicheditEx and
\samples\Advanced\RicheditEx_2)
* Updated: 'SysInfoTray' sample: revised getting CPU usage function.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\SysInfoTray)
* Updated: 'TsBrowse Incremental search' sample.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\Tsb_filter)
* Updated: 'Free Memory' sample: revised getting CPU usage function.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Applications\FREE_MEMORY)
* Updated: 'Stock' (Builder of the Function List) sample:
- export of shared (or uncalled only) procedures/functions to HTML;
- more careful analysis of strings (skip comments: "//", "*", "/*
*/").
Contributed by Alexey Gustow
(see in folder \Utils\FuncList)

This release of MiniGUI is considered stable and ready for production use.

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Monday, November 7, 2011

Harbour MiniGUI Extended Edition 2.0.3 setup Released on 31st October 2011

Hi All,

The Harbour MiniGUI Extended Edition 2.0.3 setup is published at the following
URL:

http://hmgextended.com/files/CONTRIB/hmg-2.0.3-setup.zip

and the lite MinGW-based archive is placed at the following URL:

http://hmgextended.com/files/CONTRIB/hmg203-mingw.zip

There is the following changelog for this build:

2011/10/31: HMG Extended Edition 2.0.3 Published.
* Enhanced: The Button control with Icon picture supports a theme style at the
changing button's icon picture in WinXP.
Requested by Simon Norbert <simon.n@...>.
Contributed by Grigory Filatov <gfilatov@...>
(see demo in folder\samples\basic\button_2)
* Enhanced: COMPRESS and UNCOMPRESS commands supports an optional
RESULT [TO] clause.
Syntax:
- COMPRESS "MyBase.dbf" TO "Backup.zip" ;
BLOCK {|cFile, nPos| ProgressUpdate(cFile, nPos)} RESULT lSuccess
- UNCOMPRESS "Backup.zip" EXTRACTPATH ".\" RESULT TO lSuccess
Contributed by Grigory Filatov <gfilatov@...>
(see demo2.prg in folder \samples\Basic\Zip)
* Enhanced: PRINT GRAPH (bar type) supports a multiple colors when the graph
have
one serie only and you did specify a color array for each value.
Contributed by Grigory Filatov <gfilatov@...>
* Changed: The others MCI Player internal functions are defined as
pseudo-functions.
Contributed by Grigory Filatov <gfilatov@...>
* Updated: Unneeded hbprinter code was removed at starting of DO REPORT
command.
Contributed by Grigory Filatov <gfilatov@...>
(see demo in folder \samples\Basic\DO_REPORT)
* Updated: Modified an image aspect ratio in the PRINT GRAPH command.
Contributed by Grigory Filatov <gfilatov@...>
* Updated: MiniPrint library (see source in folder \Source\MiniPrint):
- Changed: used themed ButtonEx control for toolbar buttons.
Contributed by Grigory Filatov <gfilatov@...>
* Updated: WinReport library (see source in folder \Source\WinReport).
Contributed by Pierpaolo Martinello
(see demo in folder \samples\Advanced\REPORT_INTERPRETER and
help file WinReport.chm in folder \Doc)
* Updated: Socket library source code by Matteo Baccan <baccan@...>:
- Added SetSendTimeout( nMilliSec ) method in tsmtp.prg.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \Source\Socket)
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3):
- update for using SQLITE3 version 3.7.8
Contributed by Grigory Filatov <gfilatov@...>
* Updated: Adaptation FiveWin Class TSBrowse 9.0 in HMG:
- Fixed: wrong behaviour at lNoHScroll := .T. and double press
Ctrl+End.
Problem was reported by Krzysztof Stankiewicz <ks@...>.
Contributed by Grigory Filatov <gfilatov@...>
* Updated: Harbour Compiler 3.1.0dev (SVN 2011-10-25 13:06):
* Updated: most important differences between Harbour and xHarbour
(see xhb-diff.txt in folder \harbour\doc);
* Updated: MySql library source code (see in folder \Source\HbMySql);
* Updated: HbZipArc library source code (see in folder
\Source\HbZipArc).
Contributed by Grigory Filatov <gfilatov@...>
(look at ReadMe.txt in folder \harbour)
* Updated: HMGS-IDE v.1.1.0.1 Project Manager and Two-Way Visual Form
Designer:
- Fixed : Problem at compiling of console application.
Reported by Franz <franz@...>
* New: 'HMG Achoice' sample.
Based upon a contribution of Dhanny del Pilar
<dhaine_adp@...>
(see in folder \samples\Advanced\ACHOICE_2)
* New: 'Dbf to/from Sqlite converter' sample.
Based upon a contribution of S.Rathinagiri <srgiri@...>.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\dbf2sqlite)
* New: 'Get Windows Version string' sample with 64-bit OS detection.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\WinVersion_2)
* Updated: 'My Dbf Browse' sample: minor change.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Basic\BROWSE_8)
* Updated: 'Edit Extended' sample: revised advanced saving function.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Basic\EDIT_EXTENDED)
* Updated: 'Barcode Reader' with serial input sample:
- added C-casting to pacify warnings.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\BarTools)
* Updated: 'MiniSql Basic' sample for compatibility with MySql library
changes.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\MiniSql)
* Updated: 'Report Interpreter' sample:
- New: Added 'Barcode labels' sample.
Contributed by Pierpaolo Martinello
(see in folder \samples\Advanced\REPORT_INTERPRETER)
* Updated: 'DBFview v.0.78' sample: revised Windows 7 UI look.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Applications\DBFview)

This release of MiniGUI is considered stable and ready for production use.

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Wednesday, October 26, 2011

Harbour MiniGUI Extended Edition 2.0.2 Released on 12th October 2011

Hi All,

The Harbour MiniGUI Extended Edition 2.0.2 setup is published at the following
URL:

http://hmgextended.com/files/CONTRIB/hmg-2.0.2-setup.zip

and the lite MinGW-based archive is placed at the following URL:

http://hmgextended.com/files/CONTRIB/hmg202-mingw.zip

There is the following changelog for this build:

2011/10/12: HMG Extended Edition 2.0.2 Published.
* Fixed: Restored normal WinAPI behaviour of ReadOnly Spinner control.
It was wrongly mixed with Disabled state (introduced in the build 31).
Requested by Adalberto from brazilian forum MiniGUI.
Contributed by Grigory Filatov <gfilatov@...>
(see demo in folder \samples\Basic\SPINNER)
* New: Added read/write property 'Tabstop' for standard controls.
You can set/get this property at runtime:
- function syntax:
SetProperty ( Form, Control, 'Tabstop', lLogical )
GetProperty ( Form, Control, 'Tabstop' )
- pseudo-OOP syntax:
Form.Control.Tabstop := lLogical
Form.Control.Tabstop --> logical value
Contributed by Grigory Filatov <gfilatov@...>
* Enhanced: The Button control supports now an optional HOTKEY clause.
Based upon a code for a hotkey detection borrowed from OOHG.
Requested by Simon Norbert <simon.n@...>.
Contributed by Grigory Filatov <gfilatov@...>
(see menu File->'More Tests' in folder \samples\basic\MAINDEMO (SYNTAX I))
* Enhanced: The Button control with Icon picture supports now a theme style at
WinXP.
The old behaviour is available also via using NOXPSTYLE clause.
Requested by Simon Norbert <simon.n@...>.
Contributed by Grigory Filatov <gfilatov@...>
(see demo in folder\samples\basic\button_2)
* Enhanced: Added moving between data in a CellNavigation Grid control by
column.
It means that instead of moving cursor to the right when you accepted cell
editing, the cursor should be moved downwards.
- New: SET [GRID] CELLNAVIGATIONMODE VERTICAL | HORIZONTAL command.
This mode automatically puts you in edit mode, besides to driving you down
or left when accepting changes with or keys.
Based upon a contribution of Roberto Lopez <mail.box.hmg@...>
(see demo2.prg in folder \samples\Basic\Grid_Test)
* Changed: The some MCI Player and AnimateBox internal functions are defined as
pseudo-functions now.
Contributed by Grigory Filatov <gfilatov@...>
* Changed: Harbour GT functions are used for set/get Clipboard text now.
Contributed by Grigory Filatov <gfilatov@...>
* Updated: Harbour Compiler 3.1.0dev (SVN 2011-10-11 01:56).
Contributed by Grigory Filatov <gfilatov@...>
(look at ReadMe.txt in folder \harbour)
* Updated: HMGS-IDE v.1.1.0. Project Manager and Two-Way Visual Form Designer.
Contributed by Sylvain Larche <slarche@...>
(look for what's new at changelog.txt in folder \Ide)
* New: 'HMG IDE' sample by Roberto Lopez <mail.box.hmg@...>.
Borrowed from HMG 4 project. It is a Ide template only.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\hmgide)
* New: 'Mini Agenda' sample.
Based upon a contribution by Bicahi Esgici <esgici@...>.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\MiniAgenda)
* New: 'Focus It' sample: enable X-Mouse style window activation.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Applications\FOCUS_IT)
* Updated: 'Ftp Client' sample based upon a TIP library.
Problem with uploading of the binary files was reported by
Eladio Bravo <eladibravo@...>.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\FtpClient)
* Updated: 'Tone function via sound card' sample:
- Revised the musical sequence.
Contributed by Alexey Gustow
(see in folder \samples\Advanced\Tone)
* Updated: 'Calculator' sample: correction of the 'percent' button action.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Basic\Calc)

This release of MiniGUI is considered stable and ready for production use.

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Thursday, September 22, 2011

Harbour MiniGUI Extended Edition 2.0.1 Released on 21st Sept 2011

Hi All,

The Harbour MiniGUI Extended Edition 2.0.1 setup is published at the following
URL:

http://hmgextended.com/files/CONTRIB/hmg-2.0.1-setup.zip

and a lite MinGW-based archive is placed at the following URL:

http://hmgextended.com/files/CONTRIB/hmg201-mingw.zip

There is the following changelog for this build:

2011/09/21: HMG Extended Edition 2.0.1 Published.
* Changed: From this release, build number is at the end of version number.
This way '2.0.1' is used instead '2.0 build 1'.
* Enhanced: The PROGRESSBAR control supports an optional [ STYLE ] MARQUEE
clause
(continuous loop) with optional parameter VELOCITY nValue (default is
40):
- New: Added write only 'Velocity' property.
You can set this property at runtime:
- function syntax:
SetProperty ( Form, ProgressBar, 'Velocity', nValue )
- pseudo-OOP syntax:
Form.ProgressBar.Velocity := nValue
You can use Form.ProgressBar.Velocity := 0 for stopping of the loop.
Contributed by Grigory Filatov <gfilatov@...>
(see demo4.prg in folder \samples\Basic\PROGRESSBAR)
* Fixed: When you have a popup with menuitems is showing a message from
another item
that's not the popup. Reported by Marcelo A. L. Carli
<malcarli@...>.
The DEFAULT statusbar message will be used for filling of the popup's
message.
Contributed by Grigory Filatov <gfilatov@...>
* Fixed: DO REPORT command don't restore Portrait mode with using Landscape
clause.
Problem was reported by Sudip Bhattacharyya <sudipb001@...>.
Contributed by Grigory Filatov <gfilatov@...>
* Enhanced: DO REPORT command supports now an optional NODATETIMESTAMP clause.
Requested by Sudip Bhattacharyya <sudipb001@...>.
Contributed by Grigory Filatov <gfilatov@...>
(see demo in folder \samples\Basic\DO_REPORT)
* Changed: Added BCC optimization switches to main batch file and MPM utility
(the ones used for the hbmk2 switch -optim).
Contributed by Grigory Filatov <gfilatov@...>
(see Compile.bat in folder \Batch and mpm.prg in folder \Utils\MPM)
* Updated: HBPrinter library v.2.25 (see source in folder \source\HbPrinter):
- Changed: preview images are stored on temporal files similar to
miniprint.
Based upon a code borrowed from OOHG.
Contributed by Grigory Filatov <gfilatov@...>
* Updated: Socket library source code by Matteo Baccan <baccan@...>:
- Added: parameter with length of custom string buffer (default is 1)
in method ReceiveChar( nBufLen ) (tsocket.prg)
Based upon a contribution of Artyom Verchenko
<artyomskynet@...>
- Updated: Revised class code for compatibility with Harbour switch
-w3.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \Source\Socket)
* Updated: Adaptation FiveWin Class TSBrowse 9.0 in HMG:
- New: Added method UserPopup() allows to add an user-defined menus
to
the selected columns. It is activated by right mouse button within
the header.
Contributed by Janusz Pora <januszpora@...>
(see demo at Menu TSBrowse 9.0->'Headers User Menu'
in folder \samples\Advanced\TSBrowse)
- Fixed: Added conversion for datetime value in the function
cValToChar().
Problem was reported by Marcelo Torres <lichitorres@...>.
Contributed by Grigory Filatov <gfilatov@...>
(see sample tsbrowse 9.0->Test Ado->All Fields, the field HIREDATE
in folder \samples\Advanced\TsBrowse)
* Updated: Harbour Compiler 3.1.0dev (SVN 2011-09-16 11:56):
* Updated: HbSqlDD library source code (see in folder
\Source\HbSqlDD);
* Updated: PostGreSQL library source code (see in folder
\Source\HbPgSql).
Contributed by Grigory Filatov <gfilatov@...>
(look at ReadMe.txt in folder \harbour)
* Updated: HMGS-IDE v.1.0.8. Project Manager and Two-Way Visual Form Designer.
Contributed by Walter Formigoni <walter.formigoni@...>
(look for what's new at changelog.txt in folder \Ide)
* New: 'Table of Colors' sample.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Basic\ColorsTable)
* New: 'Download Manager with MultiThreading' sample (based on socket
library).
Based upon a contribution of Artyom Verchenko
<artyomskynet@...>
(see in folder \samples\Advanced\Downloader)
* New: 'Hack Tray' sample (based upon a nice work of Nibu babu thomas).
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Advanced\HackTray)
* Updated: 'Data Base Assistant' utility:
- Added: a draft print function at the showing of the database list.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \Utils\DBA)
* Updated: 'Simple Editor' sample.
Contributed by Grigory Filatov <gfilatov@...>
(see in folder \samples\Basic\EDITOR)

This build was tested on the following platforms:
- Win98 SE (passed);
- WinXP SP1 (passed);
- Win7 SP1 (passed).

This build was not tested on the following platforms:
- Win95;
- Win2000;
- WinVista.

This release of MiniGUI is considered stable and ready for production use.

Your feedback is welcome!

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Thursday, September 15, 2011

Harbour MiniGUI 1.9 Extended Edition (Build 99) Released on 17th August 2011

Hi All,

The Harbour MiniGUI 1.9 Extended Edition (Build 99) setup is published at the following URL:
 http://hmgextended.com/files/CONTRIB/hmg-1.9-99-setup.zip
and a lite MinGW-based build 99 archive is placed at the following URL:
 http://hmgextended.com/files/CONTRIB/hmg99-mingw.zip
>
> There is the following changelog for this build:
>
> 2011/08/17: Build 99 (HMG 1.9 Extended Edition) Published.
> * Enhanced: The ComboBox control supports now an optional UPPERCASE and LOWERCASE clauses.
> Suggested by Simon Norbert .
> Contributed by Grigory Filatov
> (see demos in folders \samples\Basic\COMBO_1 and \samples\Basic\COMBO_4)
> * Enhanced: The AnimateBox control supports now an optional NOBORDER clause.
> Suggested by Simon Norbert .
> Contributed by Grigory Filatov
> (see demos in folder \samples\Basic\ANIMATEDEMO)
> * Changed: The main batch file adds the user's libraries before Harbour core and contrib.
> Problem was reported by Mahmoud Fayed .
> Contributed by Grigory Filatov
> (see Compile.bat in folder \Batch)
> * Updated: C-code for compatibility with a last Harbour changes regarding to:
> 2011-07-17 16:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
> * deleted things marked with HB_LEGACY_LEVEL3, finishing cleanup
> job started many years ago.
> ; this also means that windows.h and os2.h will no longer be
> included by Harbour headers, HB_OS_WIN_USED is thus ineffective,
> so if someone needs these headers to access system APIs, they
> should be manually included in each source file.
> Contributed by Grigory Filatov
> * Updated: MPM utility:
> - Changed: maximum length of environment strings set at 254 characters.
> Problem was reported by Bill Broyles
> Contributed by Kevin Carmody <i@kevincarmody.com>
> (see in folder \Utils\MPM)
> * Updated: Harbour Compiler 3.1.0dev (SVN 2011-08-13 17:25).
> Contributed by Grigory Filatov
> (look at ReadMe.txt in folder \harbour)
> * Updated: The all samples are revised for compatibility with a last Harbour changes:
> - Added IS*() -> HB_IS*() conversing
> Contributed by Grigory Filatov
> * New: 'Firebird database access through a ODBC driver' sample.
> Contributed by Hugo Rozas
> (see in folder \samples\Basic\Firebird)
> * Updated: 'CallDll32 function' samples:
> - Added calling function UnloadAllDll() at 'On Release' event.
> Contributed by Grigory Filatov
> (see demos in folder \samples\Basic\CallDll)
> * Updated: 'Volume Info' sample.
> Contributed by Grigory Filatov
> (see demo2.prg in folder \samples\Advanced\VOLUME_INFO)
> * Updated: Added Bulgarian language translation to the following multilingual samples:
> - Biorhythm;
> - DBFview;
> - Language Indicator;
> - Multilingual;
> - Shutdown.
> Contributed by Danail Dikov .
>
> This release of MiniGUI is considered stable and ready for production use.
>
> --
> Best Regards,
> Grigory Filatov
> [MiniGUI Team]

Monday, July 18, 2011

Harbour Project - Leadership Change

    "Viktor Szakáts" <harbour.01@syenar.hu> Jul 18 01:53AM +0200 ^ To All Harbourers, Now finished releasing the latest stable version into the wild I'm completing my earlier decision to resign from leading the project.
    I'm glad to leave Harbour in very healthy state; it is stable, reliable, efficient and nicely put together like a hand-made Swiss watch. It reaches "enterprise" quality by many means.
    In the meanwhile Harbour stayed true to all of its original goals of compatibility, standard compliance and portability. All these features qualify Harbour the best xBase infrastructure that exists now. This also means that all the plans were met that I originally had in mind when rejoined the project 5 years ago. Thanks go to the active and enthusastic developers, supporters, including family and friends who had to cope with this stuff. It's been very busy years. 
    Disregarding technical aspects, there are things which could be improved though: "marketing", docs, merging the highly split userbase, "activating" the passive part of userbase, attracting new and young crowd, and dealing with shrinking developer force, probably many more. Nothing new here. 
    On the technical side everyone has his/her long list of "wishes", I hope as much of it will become a reality as possible so Harbour will be able to present a true alternative to big players like Python, PHP and Ruby and maybe Java, C# even. 
    Back to now. Przemek enjoys respect and trust from all participants of the Harbour community, myself included just as much or even more, so he became my top candidate for next leader of the project. Luckily, Przemek agreed to take the lead. So, I'm now handing this task to him with utmost confidence and trust. I believe his lead will do the best for the project both in technical and non-technical terms, and will set a different and better tone for the whole project whilst keeping main original goals.
    I'm backing off and plan to spend much less time on Harbour than before to get on with other parts of my life. Many thanks for those who supported me throughout the years, and thanking Phil to trust Harbour on me. 
    Now pls cheer Przemek. Viktor

Tuesday, July 12, 2011

Can HMGExt create an OLE Object itself?

CCH : From the Harbour MiniGui Forum

Q. Hi

I would like to know if it's possible for HMGExt to create an OLE Object itself, so it can be used from another programs (An OLE Server)?.

Hugo

Answer


Yes , using Harbour you can do that

example :

#include "hbclass.ch"

#define CLS_Name  "SNLANG"
#define CLS_ID    "{A78E2493-5156-445C-A516-F330BD4FA013}"

PROCEDURE DllMain()

  LOCAL hAction

   hAction := { => }
   hb_HKeepOrder( hAction, .T. )
   hb_HSetCaseMatch( hAction, .F. )
   hAction[ "FILENAME" ]    := NIL                  // DISPID=1
   hAction[ "RUNNOVAFILE" ]  := @Run_NovaFile()         // DISPID=2

   /* Initialize OLE server ID and name.
    * WIN_OleServerInit() should be executed from DllMain()
    */
   WIN_OleServerInit( CLS_ID, CLS_Name, hAction, .T. )

RETURN

STATIC FUNCTION Run_NovaFile( ... )
   LOCAL hAction := QSelf()

   IF hAction[ "FILENAME" ] == NIL
      RETURN "(:FILENAME IS NOT SET)"
   ENDIF

 RETURN ( hAction[ "FILENAME" ] )

To build this sample, you can use hbmk2

hbmk2 -hbdynvm nova.prg  -lhbwin -lgtwin hbolesrv.hbc

and we have hbolesrv.def & hbolesrv.hbc

#
# $Id: hbolesrv.hbc 15142 2010-07-17 19:51:18Z vszakats $
#

stop={!hbdynvm}Warning: Target must be '-hbdynvm' when using '${hb_self}'. Process stopped.

libs=hbwin.hbc

gt=gtgui

cflags={watcom}-6r

sources={mingw}hbolesrv-mingw.def
sources={watcom}hbolesrv-watcom.def
sources={!mingw&!watcom}hbolesrv.def

;
; $Id: hbolesrv.def 14605 2010-05-26 10:08:01Z vszakats $
;

EXPORTS
DllGetClassObject       PRIVATE
DllCanUnloadNow         PRIVATE
DllRegisterServer       PRIVATE
DllUnregisterServer     PRIVATE
DllMain

When you download harbour you will find samples in this location

C:\hb21\contrib\hbwin\tests

Greetings,
Mahmoud Fayed
http://pwct.org

Tuesday, December 15, 2009

Harbour MiniGUI 1.7 Extended Edition (Build 78a) Released on 15 December 2009

CCH: From the HMG Extended Forum

Hi All,

The Harbour MiniGUI 1.7 Extended Edition (Build 78a) setup is published at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-1.7-78a-setup.zip

and the Lite build 78a at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-1.7-78a-setup-lite.zip

There is the following changelog for this build below:

2009/12/15: Build 78a Christmas Edition (HMG 1.7 Extended Edition) Published.
* Fixed: The wrong keeping of the Justify array in the Browse control (introduced in the build 10).
Bug was reported by Constantin Rusu <crusuc@yahoo.com>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>

This release of MiniGUI is considered stable and ready for production use.

Sorry for any inconvenience!

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

P.S. I've dedicated this build to my wife's birthday. She is .. years today ;-)

Monday, December 14, 2009

Harbour MiniGUI 1.7 Extended Edition (Build 78) Released

CCH: From the HMG Extended Forum

Hi All,

The Harbour MiniGUI 1.7 Extended Edition (Build 78) setup is published at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-1.7-78-setup.zip

and the Lite build 78 at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-1.7-78-setup-lite.zip

There is the following changelog for this build below:

2009/12/14: Build 78 Christmas Edition (HMG 1.7 Extended Edition) Published.
* Fixed: The correction of return default value in the registry class (introduced in the build 64).
Bug was reported by Roberto Lopez <harbourminigui@gmail.com>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Fixed: Problem with right/left column aligning at the HeaderImage clause in the Browse/Grid.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Basic\DirList)
* Changed: The function C_GetDllSpecialFolder() is guarded by constant __WIN98__ in the sources.
You may comment the constant #define __WIN98__ in c_winapimisc.c and h_winapimisc.prg
if you have a problem in the Windows 9X. Requested by Rossine <qiinfo@ig.com.br>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Changed: The Harbour Tget class is moved into the Minigui core for GETBOX control support.
The Harbour RTL library uses the original Tget class from Harbour SVN now.
Suggested by Viktor Szakats (harbour.01 syenar.hu).
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3):
- updated for using SQLITE3 version 3.6.21
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demos in folders \samples\Advanced\SQLITE and \samples\Advanced\SQLITE_2)
* Updated: Harbour Compiler 2.0.0beta3 (SVN 2009-12-10 16:10):
* Updated: HbSqlDD library source code (see in folder \Source\HbSqlDD);
* Updated: Harbour license (see COPYING in folder \harbour);
Requested by Viktor Szakats (harbour.01 syenar.hu).
* New: HBMK2 utility source code (see in folder \Utils\hbmk2).
Requested by Viktor Szakats (harbour.01 syenar.hu).
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(look at ReadMe.txt in folder \harbour and WhatsNew.txt in folder \harbour\doc)
* Updated: HMGS-IDE v.0.9.7. Project Manager and Two-Way Visual Form Designer.
Contributed by Walter Formigoni <walter.formigoni@uol.com.br>
(look at changelog.txt in folder \Ide)
* New: 'Custom progress bar' sample. Contributed by S.Rathinagiri <srgiri@dataone.in>.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Basic\PROGRESSBAR_2)
* Updated: 'ActiveX Flash' sample is based upon the Shockwave FlashPlayer ActiveX.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo3.prg in folder \samples\Basic\ActiveX)
* Updated: 'My Dbf Browse' sample. Based upon a contribution by MigSoft yahoo.com>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Basic\BROWSE_8)
* Updated: 'Monthcal control' sample supports navigation with the arrow keys.
Requested by Rossine <qiinfo@ig.com.br>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see month.prg in folder \samples\Basic\Monthcal)
* Updated: 'XMas Lights' sample. Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Applications\

XMasLights)
* Changed: The folder \samples\Basic\TextBtn was renamed to \samples\Basic\BTNTEXTBOX_2.
Requested by Walter <walhug@yahoo.com.ar>.
* Removed: 'PDF Reader' sample not working on current Harbour release.
Look at demo4.prg in folder \samples\Basic\ActiveX instead.

This release of MiniGUI is considered stable and ready for production use.

Your comments/feedback are welcome!

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Thursday, December 10, 2009

Latest HMGS-IDE 0.9.6 Released

CCH : From the HMG Extended Forum

Hi All,

The updated HMGS-IDE 0.9.6 binary and sources are published
at the following URL:
http://www.hmgextended.com/files/HMGS-IDE/ide.zip

There is the following changelog for this version by Walter Formigoni:

2009-12-09: VERSION 0.9.6
*New : Option in menu Project->Build (With HBMK2) for BCC.
*Fixed : in definecolor.fmg missing default value 1 in controls radiogroup. reported by Marcelo Brigatti <sistemasies@gmail.com>
*Fixed : when load uci control inside tab not connect control with tab
*Fixed : when click in uci control saved from form not show control in object inspector.
*Fixed : when select empty combo item of uci control and click in form. Reported by Sudip <sudipb001@gmail.com>

It will be included at the next Minigui EE build (coming soon).

--
Kind Regards,
Grigory Filatov
[MiniGUI Team]

Thursday, November 26, 2009

Harbour MiniGUI 1.7 Extended Edition (Build 77) Released

CCH : From the HMG Extended Forum


Hi All,

The Harbour MiniGUI 1.7 Extended Edition (Build 77) setup is published at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-1.7-77-setup.zip

and the Lite build 77 at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-1.7-77-setup-lite.zip

There is the following changelog for this build below:

2009/11/26: Build 77 (HMG 1.7 Extended Edition) Published.
* New: 'ODBC Database Driver' library source code (see in folder \Source\HbSqlDD).
Based upon a contribution by Mindaugas Kavaliauskas dbtopas.lt>
(see demo in folder \samples\Advanced\OdbcDD)
* Fixed: The new ButtonEx behaviour breaks hotkeys and spacebar pressing if the mouse cursor
is placed out of button field (introduced in the build 76).
Problem was reported by Rossine <qiinfo@ig.com.br>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Fixed: The Interval value of Timer control did not kept at the change in the _SetValue().
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Changed: Correction of using dbunlock() function after editing in the Browse control.
You can use a Browse for editing of array (based upon SqlMix Harbour contrib).
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Advanced\ArrayRDD)
* Changed: Replacing the cycles For-Next with For Each-Next or array evaluation of codeblock
for improvement of the speed in the following internal functions:
- _ActivateWindow();
- _ShowWindow();
- _ReleaseWindow();
- _hmg_OnHideFocusManagement();
- _SetValue();
- _DisableControl();
- _EnableControl();
- _ShowControl();
- _HideControl().
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demos in folder \samples\Basic\NOAUTORELEASE)
* Enhanced: The Image Button control with ICON clause supports an optional
EXTRACT clause.
Syntax:
@ 10,10 BUTTON Button_1 ;
ICON cFileWithIconResource ;
EXTRACT nIconIndex ;
ACTION bAction
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Basic\ExtractIcon)
* Updated: Synchronized an Extended HMG with an Official HMG 3.0.0:
- Fixed: Problems with numeric group expression in the report generator.
Reported by Fernando Chirico.
- Fixed: Problem when group header is omitted in the report generator.
Reported by Sudip.
(see demos in folder \samples\Advanced\REPORT_

GENERATOR)
* Updated: Harbour Compiler 2.0.0beta3 (SVN 2009-11-24 13:20):
* Updated: HbSqlDD library source code (see in folder \Source\HbSqlDD).
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(look at ReadMe.txt in folder \harbour and WhatsNew.txt in folder \harbour\doc)
* New: 'ActiveX Preview' sample is based upon the WinXP PictureViewer ActiveX.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo6.prg in folder \samples\Basic\ActiveX)
* New: 'Xtract - Data Cube' sample.
Contributed by S.Rathinagiri <srgiri@dataone.in>.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Advanced\DataCube)
* New: 'Simple NetIO Server and Client' samples are based upon a Harbour HbNetIO library.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demos in folders \samples\Advanced\NETIO_1 and \samples\Advanced\NETIO_2)
* Updated: 'FreeImage Viewer' sample. Contributed by Grigory Filatov <gfilatov@freemail.ru>
This sample is required a library FreeImage.Dll from http://freeimage.sourceforge.net
(see in folder \samples\Advanced\FREEVIEW)
* Updated: 'Report Generator 2' sample by Roberto Lopez <harbourminigui@gmail.com>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo2.prg in folder \samples\Advanced\REPORT_GENERATOR_2)

This release of MiniGUI is considered stable and ready for production use.

Your comments/feedback are welcome!

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Thursday, June 11, 2009

HMG : Latest Version 2.92 by Roberto Lopez

CCH: From the HMG Forum

HMG 2.9.2
- Fixed: Print Preview. 'go to page' window not refresh preview window.

- Modified: Documentation completed, fixed, indexed, linked and formatted.

- New: Property style synonyms for the following GUI
objects (look at documentation for details):

- WINDOW
- TOOLBAR
- TREE
- TAB
- SPLITBOX
- CONTEXT MENU
- DROPDOWN MENU
- MAIN MENU
- STATUSBAR

The following synonyms for alternate syntax were added:

- LINES (NOLINES)
- ALIGNMENT (CENTERALIGN,RIGHTALIGN)
- TODAY (NOTODAY)
- TODAYCIRCLE (NOTODAYCIRCLE)
- DATATYPE (NUMERIC,CHARACTER,DATE)
- CASECONVERT (UPPERCASE,LOWERCASE)
- TICKMARKS (NOTICKS)
- AUTOSIZEWINDOW (NOAUTOSIZEWINDOW)
- AUTOSIZEMOVIE (NOAUTOSIZEMOVIE)
- ERRORDLG (NOERRORDLG)
- MENU (NOMENU)
- OPEN (NOOPEN)
- PLAYBAR (NOPLAYBAR)


Download: http://sourceforge.net/projects/harbourminigui/


Regards,

Roberto.

Tuesday, March 17, 2009

Programming MDI with MiniGUI - Part II [Updated 22nd march 2009]

After tinkering with MDI programming and with the help of Grigory of HMG Extended Forum :-






Basic syntax for a Browse which works perfectly in a non-MDI environment is as follows :-

[ @ , ] BROWSE
[ ID ]
[ OF | PARENT | DIALOG ]
WIDTH
HEIGHT
HEADERS
WIDTHS
WORKAREA
FIELDS
[ VALUE ]
[ FONT SIZE ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP ]
[ BACKCOLOR ]
[ DYNAMICBACKCOLOR ]
[ DYNAMICFORECOLOR ]
[ FONTCOLOR ]
[ ON GOTFOCUS | ]
[ ON CHANGE | ]
[ ON LOSTFOCUS | ]
[ [ ON DBLCLICK | ] | [ EDIT | ALLOWEDIT [ INPLACE ] ] [ APPEND | ALLOWAPPEND] ]
[ ON HEADCLICK | ]
[ WHEN ]
[ VALID ]
[ VALIDMESSAGES ]
[ READONLY ]
[ LOCK ]
[ DELETE ]
[ NOLINES ]
[ IMAGE ]
[ JUSTIFY ]
[ NOVSCROLL ]
[ HELPID ]
[ BREAK ]

However, please note that for MDI environment:-

[ [ ON DBLCLICK | ] | [ EDIT | ALLOWEDIT [ INPLACE ] ] [ APPEND | ALLOWAPPEND] ]

a) EDIT/APPEND does not work
b) You may use EDIT INPLACE

This is exactly why I wrote my own UDF to replace them :-)

Update on 23rd March 2009

Finally, perfected (with the help of Grigory of HarbourMiniGUI Forum) TILING/CASCADE of Child Windows populated with different DBF

Sunday, March 8, 2009

Adding GUI to xHarbour/Harbour via HMG [Part II]

In my previous article on Adding GUI to xHarbour/Harbour via HMG [Part I], I have shown you that you can easily hand code, Windows Menu, ToolBar and StatusBar and the result is as below :-


Code Snippet
ToolBar
DEFINE TOOLBAR ToolBar_1 BUTTONSIZE 25,25 FLAT BORDER
BUTTON Button_Exit ;
PICTURE 'exit.bmp' ;
TOOLTIP 'Exit this Application' ;
AUTOSIZE;
ACTION MsgInfo('Exit !');
SEPARATOR

BUTTON Button_ReindexAll ;
PICTURE 'task.bmp' ;
TOOLTIP 'Reindex All Files' ;
AUTOSIZE;
ACTION Reindex_All()

BUTTON Button_Calculator ;
PICTURE 'calculator.bmp' ;
TOOLTIP 'Windows Calculator' ;
AUTOSIZE;
ACTION ExecFile("C:\Windows\System32\calc.exe") ;
SEPARATOR
END TOOLBAR

Status Bar
DEFINE STATUSBAR
STATUSITEM "FAS4HMG" WIDTH 100
KEYBOARD
DATE
CLOCK
END STATUSBAR



Code Snippet
Menus
POPUP '&File'
POPUP '&Define Help Windows' name FileDefine
ITEM 'Define Fiscal Periods' ACTION EditExt('HLPFP')
ITEM 'Define Forex Table' ACTION EditHlpForex()
END POPUP
ITEM 'Exit' ACTION FileExit() IMAGE 'Exit.Bmp'

END POPUP

POPUP 'General Ledger'
ITEM '&Chart of Accounts' ACTION (BrowseGlac())
ITEM 'Report Writer' ACTION EditExt('REPTGL')
POPUP 'Standard Reports' name GLRept
ITEM 'Chart of Accounts' ACTION PrintViewChartofAccounts()
END POPUP
SEPARATOR

ITEM 'Reindex' ACTION Reind_GL()
ITEM 'Edit Fields Description' ACTION EditExt('GLDICT')
SEPARATOR
ITEM 'Rebuild GL' ACTION RebuildGL()
END POPUP


How about calling an external EXE ?

Code Snippet

EXECUTE FILE "C:\Windows\System32\calc.exe"

Using HMG's MsgYesNo() to replace Clipper Alert()

Code Snippet
if MsgYesNo('Reindex All Files ?','Confirm',{'Yes','No'})
ReindexAll()
endif

What about Reindexing with Progress Bar ?


What have I done to 'GUIFY ' FAS4XHB to FAS4HMG thus far ?

a) Completed Main Form Interface via MENU, TOOLBAR & STATUSBAR
Nb. With this, I got rid of the Clipper Menu Interface

b) Use EDIT/EDIT EXTENDED to replace my DBEDIT()-based data screens
Nb. With this, I got rid of the DBEDIT() Interface

c) Use PROGRESSBAR to allow reindexing with Progress Bar
Nb. Replaced my text-based Progress Bar

d) Use EXECUTE FILE 'KE.EXE' PARAMETERS
Nb. This means that I do not need to recode all my reports !

What resources have I used thus far ?

a) xHarbour compatible codes, see Migrating from 5.2e to xHarbour Part III

b) HMG distribution comprising Harbour+HMG, see What is HMG ?

d) HMGIDE, a 2-way IDE (only if you created forms from the IDE)

e) Speedy response by HMG Forum particularly Escigi, Rathinagiri, Grigory Filatov and not forgetting my newly-found friend Sudip
Bhattacharyya from Calcutta, West bengal , India :-)

Where do I go from Here ?

a) Master-Details Forms

b) Prettying up the Interface

Saturday, March 7, 2009

HMG: How to implement a comprehensive Editable Data Window with 1 line of code...

As most of us now, to maintain a Table of data, we probably must have a Data Window where one can :-

a) Browse data
b) Filter Data
c) Add a new record
d) Modify an existing record
e) Delete an unwanted record
f) Find records
g) Print a report based on the table

Obviously, it will take a lot of coding to achieve all of the above.

Take a look at the following screen. Pretty comprehensive looking and must have involved a lot of coding, right ? Would you believe that it can be done with 1 line of code ?



Would it shock you to know that the above was done with 1 line of code namely

EDIT EXTENDED ARDATA
where ARDATA = workarea

How about this ?



EDIT HLPFOREX
where HLPFOREX = workarea

Hmm... I don't think it can get easier :-)

See More on Extended Edit...

Friday, March 6, 2009

HMG : How to Create Browses, the easy way ? (Updated 9th March 2009)

In FAS4DOS/FAS4XHB and FAS4HMG, I was using DBEDIT() as the primary data entry mechanism for user input.


On studying the numerous samples in HMG, I decided to replace all the text DBEDIT() with HMG's BROWSE. The following was achieved by using BROWSE functionality in place of DBEDIT() within FAS4HMG



How did I achieve this ?

Code Snippet

DEFINE WINDOW BrowseGLACForm ;
AT 0,0 ;
WIDTH 640 HEIGHT 480 ;
TITLE 'Browse Chart of Accounts' ;
CHILD ;
NOMAXIMIZE;
ON INIT OpenTables() ;
ON RELEASE CloseTables()


DEFINE STATUSBAR
DATE
STATUSITEM ' / Double Click To Edit' WIDTH 190
STATUSITEM 'Alt+A: Append Record' WIDTH 140
STATUSITEM ': Delete Record' WIDTH 140
CLOCK
END STATUSBAR

@ 10,10 BROWSE Browse_1 ;
WIDTH 580 ;
HEIGHT 400 ;
HEADERS { 'GL Code' , 'GL Name' , 'GL Type', 'GL Group'} ;
WIDTHS { 80 , 320 , 80 , 80 , 120 } ;
WORKAREA GLAC ;
FIELDS { 'GLAC->GLCODE' , 'GLAC->GLNAME' , 'GLAC->GLTYPE' , 'GLAC->GLGROUP'} ;
VALUE 1 ;
EDIT ;
APPEND;
DELETE;
LOCK

END WINDOW

CENTER WINDOW BrowseGLACForm

BrowseGLACForm.Browse_1.SetFocus

ACTIVATE WINDOW BrowseGLACForm

Return Nil

Wednesday, March 4, 2009

Adding GUI to xHarbour/Harbour via HMG [Part I]

I started with FAS4XHB, the migrated FAS4DOS mentioned in my earlier articles as follows :


After Adding MENU structure using HMG

Having downloaded the Harbour MiniGui Harbour Distribution and joining the HMG Forum, I played with the IDE. Nice.. but on the advice of Esgici, I started to code by hand this morning and this is the result of my handiwork :-



After adding a Status Bar showing Date & Time..

DEFINE STATUSBAR
CLOCK
DATE
END STATUSBAR



After adding a Tool Bar with some high quality bitmaps :-

DEFINE TOOLBAR ToolBar_1 BUTTONSIZE 32,24 BORDER

BUTTON Button_Exit ;
CAPTION 'E&xit' ;
PICTURE 'exit.bmp' ;
ACTION Exit()
SEPARATOR

BUTTON Button_GL ;
CAPTION '&General Ledger' ;
PICTURE 'accounts.bmp' ;
ACTION ViewGL()

BUTTON Button_AR ;
CAPTION 'Accounts &Receivable' ;
PICTURE 'table.bmp' ;
ACTION ViewAR()

BUTTON Button_AP ;
CAPTION 'Accounts &Payable' ;
PICTURE 'view.bmp' ;
ACTION ViewAP()
SEPARATOR

BUTTON Button_Reindex ;
CAPTION '&Reindex All' ;
PICTURE 'task-2.bmp' ;
ACTION ReindexAll()
END TOOLBAR


Now, it looks pretty good for a Clipper for Windows (Harbour+HMG) executable !


Welcome to Clipper... Clipper... Clipper


In 1997, then using Delphi 3, I had already created 32-bits Windows applications for HRIS, ERP and CRM. In 2007, using Ruby on Rails, an AJAX powered CRM site running on Apache & MySQL was created and I am now using Visual Studio .Net 2008 to create web-based projects and Delphi 7 for Win32 applications using SQL2005 & DBFCDX.

So, why then am I reviving the Original Clipper... Clipper... Clipper via a Blog as CA-Clipper is a programming language for the DOS world ? Believe it or not, there are still some clients using my mission-critical CA-Clipper applications for DOS installed in the late 80's and up to the mid 90's. This is testimony to CA-Clipper's robustness as a language :-)

With the widespread introduction of Windows 7 64-bits as the standard O/S for new Windows based PCs & Notebooks, CA-Clipper EXE simply will not work and it has become imperative for Clipper programmers to migrate immediately to Harbour to build 32/64 bits EXEs

Since 28th January 2009, this blog has been read by 134,389 (10/3/11 - 39,277) unique visitors (of which 45,151 (10/3/11 - 13,929) are returning visitors) from 103 countries and 1,574 cities & towns in Europe (37; 764 cities), North America (3; 373 cities) , Central America & Caribeans (6; 13 cities), South America(10; 226 cities), Africa & Middle-East (12; 44 cities) , Asia-Pacific (21; 175 cities). So, obviously Clipper is Alive & Well : -)


TIA & Enjoy ! (10th October 2012, 11:05; 13th November 2015)


Original Welcome Page for Clipper... Clipper... Clipper

This is the original Welcome Page for Clipper... Clipper... Clipper, which I am republishing for historical and sentimental reasons. The only changes that I have made was to fix all the broken links. BTW, the counter from counter.digits.com is still working :-)

Welcome to Chee Chong Hwa's Malaysian WWW web site which is dedicated to Clipperheads throughout the world.

This site started out as a teeny-weeny section of Who the heck is Chee Chong Hwa ? and has graduated into a full blown web site of more than 140 pages (actually hundreds of A4 size pages) ! This is due to its growing popularity and tremendous encouragements from visiting Clipperheads from 100 countries worldwide, from North America, Central America, Caribbean, South America, Europe, Middle-East, Africa and Asia-Pacific. Thanx Clipperheads, you all made this happen !


What is Clipper ?

You may ask, what is this Clipper stuff ? Could Clipper be something to do with sailing as it is the name of a very fast sailing American ship in the 19th century ?

Well, Clipper or to be precise, CA-Clipper is the premier PC-Software development tool for DOS. It was first developed by Nantucket Corporation initially as a compiler for dBase3+ programs. Since then, CA-Clipper has evolved away from its x-base roots with the introduction of lexical scoping & pre-defined objects like TBrowse. As at today, the most stable version ofClipper is 5.2e while the latest version, 5.3a was introduced on 21 May 1996.

As at 11th November, 1996, an unofficial 5.3a fixes file was made available by Jo French. See the About CA-Clipper 5.3a section for more details. BTW, Jo French uploaded the revised 5.3a fixes file on 20th November, 1996.

Latest News

The latest news is that CA has finally released the long-awaited 5.3b patch on 21 May, 1997.

For 5.3b users, you must a take a look at Jo French's comments on unfixed bugs in 5.3b.

BTW, have you used Click ? If you're a serious Clipperprogrammer and need an excellent code formatter, Click is a natural choice. How to get it ? Simple, access Phil Barnett's site via my Cool Clipper Sites.

32-bits Clipper for Windows ?

Have you tried Xbase ++ ? Well, I have and compared to Delphi (my current Windows programming tool of choice), I'm still sticking to Delphi.

Anyway, you should visit the Alaska Home Page. Give it a chance and then draw your own conclusions !.

The Harbour Project

Is this the future of Xbase ? Take a look at at the Harbour Project

You are Visitor # ...

According to counter.digits.com, you are visitor since 3 June 1996.

If you like or dislike what you see on this website, please drop me a line by clicking the email button at the bottom of this page or better still, by filling out the form in my guest book. If you are not sure what to write,click here to take a look at what other Clipperheads have to say.