Wednesday, August 12, 2009

Latest Harbour MiniGUI 1.7 Extended Edition (Build 72)

CCH : From the HMG Extended Forum

Hi All,

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

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

and the Lite build 72 at the following URL:

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

There is the following changelog for this build below:

2009/08/12: Build 72 (HMG 1.7 Extended Edition) Published.
* Fixed: The menuitem's enabled/disabled state is returned vice versa
(introduced in the build 35).
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see MakeContextMenu procedure in demo at folder
\samples\Basic\MAINDEMO (SYNTAX I))
* Enhanced: The main icon defined by user could be used as default icon
to all other windows:
- New: SET DEFAULT ICON TO command.
Suggested by Eduardo Fernandes <modalsist@yahoo.com.br>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Basic\Statusbar)
* Changed: The internal variables assignment in the ButtonEx control.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Basic\BUTTON_1)
* Changed: The function CShowControl() is defined as pseudo-function now.
Warning: You should recompile the HBPrinter library for compatibility
with this change.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Updated: Portuguese language translation again in h_init.prg.
Contributed by Marcelo A. L. Carli <malcarli@terra.com.br>.
* Updated: WinReport library (see source in folder \Source\WinReport).
Contributed by Pierpaolo Martinello alice.it>
(see demo in folder \samples\Advanced\REPORT_

INTERPRETER and
help file WinReport.chm in folder \Doc)
* Updated: Adaptation FiveWin Class TSBrowse 7.0 in HMG:
- Fixed: Method KeyChar when the tsbrowse is empty in array mode.
Contributed by Antonio Carlos da Silva <antoniocarlosconsultor@yahoo.com.br>
(see demo in folder \samples\Advanced\TSBrowse)
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3):
- updated for using SQLITE3 version 3.6.17
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demos in folders \samples\Advanced\SQLITE and \samples\Advanced\SQLITE_2)
* Updated: Harbour Compiler 1.1.0dev (SVN 2008-08-11 12:01).
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(look at ReadMe.txt in folder \harbour)
* Updated: HMGS-IDE v.0.9.2. 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: 'Grid to Text' sample. The function Grid2Txt() have the following parameters:
- Name of the form;
- Name of the grid;
- Filename to be produced;
- Length of every field (if 0, it is automatic).
Contributed by Pierpaolo Martinello alice.it>
(see demo3 in folder \samples\Basic\Grid_7)
* Updated: 'Report Generator' sample by Roberto Lopez <harbourminigui@gmail.com>.
Adapted for HbPrinter by Pierpaolo Martinello alice.it>
(see demo2 in folder \samples\Advanced\REPORT_GENERATOR_2)
* Updated: 'Tray Outlook Express' sample.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Applications\TrayOE)

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

Your comments are welcome!

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Friday, July 31, 2009

Latest UnOfficial Release for the harbour Project

CCH: From Victor's Harbour Page

Harbour 2.0.0beta2 (r11508) (2009-06-24)
for Windows x86, Windows x64, WinCE/ARM and MS-DOS platforms:

Binary - .7z archive (40MB)
Binary - .exe installer (43MB)

For official releases, visit: http://sourceforge.net/projects/harbour-project/files/

Release notes

Make sure to check INSTALL doc "QUICK START" section and visit
our user forums at:
http://sourceforge.net/apps/phpbb/harbour-project/

Release notes:
-----------------------------------------------------------------------
Unified Windows release for most supported compilers and
x86, x64, WinCE/ARM, MS-DOS architectures.

Installed size: 185MB (39MB - 272MB)

The default installation will install MinGW compiler + x86 static and
shared libs, MSVC and BCC x86 libs and examples.

Options: x86 shared tools, x64 shared tools, MinGW x64 and
WinCE-ARM libs, MSVC x64 libs, Open Watcom x86 libs,
shared x64/WinCE-ARM libs, MS-DOS 32-bit DJGPP libs.

Usage:
1) install/unpack to any directory (C:\harbour20)
2) go to bin dir (optional if you specify path for hbmk2)
3) For x86 executable, type: 'hbmk2 ../tests/hello.prg'
4) For x64 executable, type: 'hbmk2 ../tests/hello.prg -comp=mingw64'
[needs minwg64 to be installed beforehand]
5) For WinCE/ARM executable, type: 'hbmk2 ../tests/hello.prg -arch=wce'
[needs cegcc to be installed beforehand]
6) For MS-DOS executable, type: 'hbmk2 ../tests/hello.prg -arch=dos'
[needs DJGPP to be installed beforehand]

See VERSIONS for tool/lib versions used to create the package.

Changes since previous release (2.0.0beta1 20090609):
-----------------------------------------------------------------------
- Harbour updated to r11508 (from r11287)
- New User's Forum linked
- upx compressor included in install package
- DOS cross build libs included in install package
- preparation to host 3rd party packages inside Harbour directory tree
- new "zero-conf" library install system in preparation
- hbmk2: lots of minor refinements, support for all free compilers
in embedded form, support spaces in filenames/paths, all Harbour
supported C compilers have now complete support in hbmk2
- DOS support tested and required fixes applied
- embedded compilers moved to 'comp' subdir
- support for latest MinGW x64 and MSVS 2010 compilers
- extended INSTALL with new examples and app build quick guide
- icon for installer and hbrun tool
- hbxbp and hbqt enhancements
- hbwin refinements and better compatibility
- new uhttpd2 sessioned HTTP server
- C++ build support for all compilers, new HB_WAEVAL() function,
new xpp (Xbase++ compatibility) lib, .hrb loading enhancements
- DBU, RL, SuperLib fixes.
- MinGW64 updated to 4.4.1
- There were a few changes in this release which may require updating
your source code (hb_par*()/hb_stor*() in .c files and GTWVG WIN_*()
function in .prg files). Search for 'incompatible' word in ChangeLog
for more.
-----------------------------------------------------------------------

Changes since previous release (1.1.0dev 20090602):
-----------------------------------------------------------------------
- Harbour updated to r11287 (from r11179)
- all contrib tests included in install package
- All 3rd party packages upgraded to latest version.
- hbmk2: project support, new file extensions, fixes, Harbour 1.0.x
support.
- further simplified/updated build process and instructions
- hbqt many enhancements
- almost full xhb compatibility
- 'terminal' fixed in examples
- source formatter, Cl*pper RL tool, legacy hbmake added
- MT Xbase++ compatibility
-----------------------------------------------------------------------

Changes since previous release (1.1.0dev 20090408):
-----------------------------------------------------------------------
- Harbour updated to r11179 (from r10819)
- Updated hbmk2 (filter issues + experimental Harbour 1.0.x support)
- Included contrib tests/utils
- Full and now standalone 'examples'
- 'tests' with subdirs included.
- No longer included pocc/pocc64/poccarm libs.
- QT updated to 4.5.1
- MinGW updated to 4.4.0

Thursday, July 30, 2009

Latest Harbour MiniGUI 1.7 Extended Edition (Build 71)

CCH : From the HMG Extended Forum

Hi All,

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

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

and the Lite build 71 at the following URL:

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

There is the following changelog for this build below:

2009/07/30: Build 71 (HMG 1.7 Extended Edition) Published.
* Changed: The Tab control supports adding of ToolTip to separate page instead to all Tab:
- New: added optional TOOLTIP clause to [ DEFINE ] [ TAB ] PAGE command.
- New: added optional 4-th parameter to pseudo-oop command
Form.Tab.AddPage( nPage, cCaption [, cImage] [, cTooltip] ).
Contributed by Jozef Rudnicki <j_rudnicki@wp.pl>
(see demo.prg in folder \samples\Basic\Tab)
* Changed: Correction in the function _GetFocusedControl() for default return value.
Contributed by Antonio Novo <antonionovo@gmail.com>
* Changed: Correction in the function CopyToClipboard(cText) for no character cText value.
Reported by Petr Chornyj <myorg63@mail.ru>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Updated: Synchronized an Extended HMG with an Official HMG 2.9.3:
- Fixed. Browse refresh bug. Reported by Vanguarda.
* Updated: Adaptation FiveWin Class TSBrowse 7.0 in HMG:
- Fixed: Wrong column type detection at array editing.
- Fixed: Correction at the saving XLS file in the method Excel2.
Bugs were reported by Adilson Urso <a.urso@uol.com.br>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Advanced\TSBrowse)
* Updated: Harbour Compiler 1.1.0dev (SVN 2008-07-24 09:46):
* New: HbVpdf library source code (see in folder \Source\HbVpdf).
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.1.1. 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: 'Report Generator' sample by Roberto Lopez <harbourminigui@gmail.com>.
Borrowed from an Official HMG 2.9.3.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@freemail.ru>
(see demos and help file report.txt in folder \samples\Advanced\REPORT_
GENERATOR)
* Updated: 'MiniGraph v.2.4' sample.
Based upon a contribution by Logoshniy Sergey <serlogosh@yandex.ru>
(see in folder \samples\Applications\MiniGraph)
* Updated: 'WMI Service usage' sample.
Based upon a contribution by Logoshniy Sergey <serlogosh@yandex.ru>
(see demo2.prg in folder \samples\Advanced\WMI_Service)
* Updated: Corrections in the license and readme files.
Suggested by Petr Chornyj <myorg63@mail.ru>.
(look at license.txt and readme.txt in the root folder)

Your comments are welcome!

--
Best Regards,
Grigory Filatov
[MiniGUI Team]

Wednesday, July 29, 2009

Latest HMGS-IDE 0.9.1

CCH : From the HMG Extended Forum

Hi All,

The updated HMGS-IDE 0.9.1 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-07-28: version 0.9.1
*Fixed : in loadfmg.prg bug message "Control: Timer_2 Of Form_1 Already defined. Program terminated." Reported by Adilson Urso <a.urso@uol.com.br> Contribution by Grigory Filatov <gfilatov@rambler.ru>
*Fixed: in mpmc3.prg the capture of errorlog when using Mingw. Reported by Sudip <sudipb001@gmail.com>
*Fixed : hmgside.prg to show correct values in building.fmg.
*Fixed : function viewformcode of fmg duplicating '\' when using \.
*Fixed : in preferences.prg initial value of property saveoptions.
*Fixed : in h_events.prg size height of control combobox and comboboxex.
*Changed : in loadfmg.prg - load method of control Label to show properties AUTOSIZE,RIGHTALIGN,

CENTERALIGN,BORDER,TRANSPARENT. Contribution by Grigory Filatov <gfilatov@rambler.ru>

--
Kind Regards,
Grigory Filatov
[MiniGUI Team]

Tuesday, July 14, 2009

Latest Harbour MiniGUI 1.6 Extended Edition (Build 70) setup is published

CCH : From the HMG Extended Forum

Hi All,

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

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

and the Lite build 70 at the following URL:

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

There is the following changelog for this build below:

2009/07/14: Build 70 (HMG 1.7 Extended Edition) Published.
* Fixed: The Slider control execute 'On Change' procedure twice with the mouse
(introduced in the build 67). Reported by Carlos Britos <bcd12a@yahoo.com.ar>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Basic\Slider)
* Fixed: Programmatic change not execute OnChange procedure for the GetBox control.
Reported by Carlos Britos <bcd12a@yahoo.com.ar>
* Fixed: GetBox control - caret shape in the insert/overwrite modes.
Based upon the remarks and fix of Simon Norbert <simon.n@t-online.hu>.
Contributed by Jacek Kubica <kubica@wssk.wroc.pl>
* New: Function GetUserProfileFolder() returns an User Profile Folder path.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo in folder \samples\Basic\MAINDEMO (SYNTAX I))
* Updated: C-code for compatibility with a last Harbour changes regarding to:
2009-06-24 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
* include/hbapiitm.h
* source/vm/itemapi.c
* source/vm/arrays.c
* source/vm/extend.c
Started addition of 'const' keywords where applicable.
extern HB_EXPORT const char * hb_parc( int iParam );
extern HB_EXPORT const char * hb_parcx( int iParam );
extern HB_EXPORT const char * hb_itemGetCPtr( PHB_ITEM pItem );
extern HB_EXPORT const char * hb_arrayGetCPtr( PHB_ITEM pArray, ULONG ulIndex );
NOTE: This modification will break code in most compilers,
especially in C++ mode.
2009-06-20 22:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapi.h
* harbour/source/vm/extend.c
* renamed existing hb_par*() and hb_stor*() functions which supports
variable number of parameters (...) into hb_parv*() and hb_storv*()
* added new hb_par*() and hb_stor*() functions which use strict number
of parameters. New hb_par*() functions do not make hidden conversion
between types, f.e. hb_parl() returns 1 only for logical parameters
which contain .T.
NOTE: INCOMPATIBLE. You'll need to modify hb_par*()/hb_stor*()
instances where they are used with extra parameter to
hb_parv*()/hb_storv*(). [vszakats]
NOTE: INCOMPATIBLE. hb_parnl() no longer pulls the value of
date types. If you want to retrieve date as numeric value,
use hb_pardl(). hb_parl() will no longer consider numeric
non-zero values as true. [vszakats]
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Changed: Turn the order of LoadImage functions in a few C-modules.
First we should try to load images from resources.
Contributed by Francek Prijatelj <francek.prijatelj@siol.net>
* Updated: Portuguese language translation in h_init.prg.
Contributed by Marcelo A. L. Carli <malcarli@terra.com.br>.
* Updated: PropGrid library source code:
- Changed: PROPERTYITEM LIST allows to add a new value to list.
Contributed by Vladimir Chumachenko <ChVolodymyr@yandex.ru>
(see Changelog.txt in folder \Source\PropGrid and
demo3.prg in folder \samples\Advanced\PropGrid)
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3):
- updated for using SQLITE3 version 3.6.16
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demos in folders \samples\Advanced\SQLITE and \samples\Advanced\SQLITE_2)
* Updated: Harbour Compiler 2.0.0beta2 (SVN 2008-07-08 16:58):
* Updated: HbSqlDD library source code (see in folder \Source\HbSqlDD):
+ added support for MySQL TIMESTAMP, DATETIME and TIME types.
Contributed by Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
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.8.9. 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: 'Kaleidoscope - 3D' sample based upon an algorithm of Cliff.
Contributed by S.Rathinagiri <srgiri@dataone.in>.
Adapted for Minigui Extended by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Advanced\
Kaleidoscope)
* New: 'Multi Richedit' sample. Contributed by Janusz Pora <januszpora@onet.eu>
(see in folder \samples\Advanced\RicheditEx_2)
* Updated: Samples for compatibility with a last Harbour changes.
Contributed by Grigory Filatov <gfilatov@freemail.ru>

Your comments are welcome!

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

Tuesday, June 30, 2009

A Beginners Guide to ADO

CCH : ADO users should find this thread interesting...

http://forums.fivetechsupport.com/viewtopic.php?t=6691

To All

Over the past few days I have had to learn how to connect and manipulate an Access database .mdb. with xHarbour and FWH.

I would like to dedicate my “Beginners Guide for ADO” to Enrico Maria Giordano who has been an inspiration and a tireless help in answering every one of my questions.

For anyone who has had to deal with MS Access .. here is a general guideline as to how to work with ADO ..

Here is the MSDN link for more info:

http://msdn.microsoft.com/library/defau ... erence.asp

Again .. many thanks Enrico !!

Rick Lipkin
SC Dept of Health, USA


//------------------------------------------------------
ADO general connections and methods:

There are 4 types of cursors supported by ADO: ( first parameter )

(0)adOpenForwardOnly: This is the lightest (cheapest) cursor, and the default when opening a recordset. It allows only forwards movement. Only the most minimal information about the recordset is calculated
by Jet (eg you can't even get a .recordCount of the total number of records in the recordset). If you try to move backwards using this cursor, the recordset is closed, and the query re-executed. Avoid doing this!

(1)adOpenKeyset: A static snap-shot of the primary key values of the records that match your search criteria are put into the recordset. As you scroll backwards and forwards, the primary key value in the recordset is used to fetch the current data for that record from the database. This cursor thus allows you to see updates to the data made by other users, but it doesn't let you see new records that have been added by other users (because the primary key values for those records are not in your recordset).

(2)adOpenDynamic: A dynamic snapshot of the database is maintained by OLEDB/ADO. All changes by other users to the underlying database are visible. Obviously this is the most sophisticated cursor, and thus is usually the most expensive. Because the data in the recordset is dynamic,
attributes like AbsolutePosition and AbsolutePage can not be set. The adOpenDynamic cursor is not supported by the Jet OLEDB Provider.

(3)adOpenStatic: A static snap-shot of the records that match your search criteria are put into the recordset. You can scroll forwards and backwards, and set bookmarks. Changes made to the database by other users however are not visible - all you can see are the records that matched your search at the point in time when the query was executed

( second parameter )

(1) adlockReadOnly
(2) adlockPessimistic
(3) adlockOptomistic
(4) adlockBatchOptomistic

How to Open a recordset .. this example is for MS Access .mdb

oRs := CREATEOBJECT( "ADODB.Recordset" )

TRY
oRS:Open( "SELECT * FROM LWMFS ORDER BY FILE_NUM" , "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=LWMFS.mdb", 1, 3 )
CATCH oErr
MsgInfo( "Error in Opening LWMFS table" )
RETURN NIL
END TRY

IF oRS:eof // query resulted with no records
Msginfo( "not found" )
RETURN(NIL)
ENDIF

How to Open a connection .. like for running global inserts, deletes

oCn := CREATEOBJECT( "ADODB.Connection" )
oCn:Open( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=lwmfs.mdb" )
oCn:Execute( "DELETE FROM LWMFS WHERE IsNull(FILE_NUM)" )
oCn:Close()

Various Methods for ADO recordsets

oRs:Delete() - delete
oRs:MovePrevious() - skip -1
oRs:MoveNext() - skip +1
oRs:MoveLast() - go bott
oRs:MoveFirst() - go top
oRs:AddNew() - append blank
oRs:Update() - commit
oRs:Find() - seek, locate

some examples

oRs:Find( "file_num = '"+cFIND+"'" )
oRs:Fields("fieldname"):Value := 'MyValue' - replace
oRS:Filter := "file_num = '"+cFIND+"'" - scope condition

sample twbrowse for FWH

STATIC oRs1, oBrow
#INCLUDE “FIVEWIN.CH”

//---------------------------------------------
Static Func _Cercla( cFILENUM )

LOCAL oErr, oDLG1, nREC, cSQL

oRs1 := CREATEOBJECT( "ADODB.Recordset" )
cSQL := "SELECT * FROM CERCLA_INDEXING cercla "
cSQL += "WHERE cercla.ASSOCIATED_FILE_NUM ='"+cFILENUM+"'"+" order by date_"

TRY
oRS1:Open( cSQL, "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=LWMFS.mdb", 1, 3 )
CATCH oErr
MsginFo( "failed to open table" )
RETURN NIL
END TRY

IF oRS1:eof
Msginfo( "not found" )
RETURN(NIL)
ENDIF

oRS1:MoveFirst()

DEFINE DIALOG oDLG1 ;
FROM 7,7 to 35,104 ;
TITLE "Matching CERCLA Docket Browse for File Number "+cFILENUM

@ 0, 0 LISTBOX oBrow FIELDS ;
oRs1:Fields("associated_file_num" ):Value,;
DTOC( oRs1:Fields( "DATE_" ):Value ),;
oRs1:Fields( "associated_permit_num" ):Value,;
oRs1:Fields( "docket_num" ):Value,;
oRs1:Fields( "from_to"):Value,;
oRs1:Fields( "description"):Value,;
oRs1:Fields( "added_by"):Value;
SIZES 80,80,100,100,200,500,80;
HEADERS "File_num",;
"Date",;
"Permit_num",;
"Docket_num",;
"From_to",;
"Description",;
"Added_by"

oBrow:bLogicLen = { || oRs1:RecordCount }
oBrow:bGoTop = { || oRs1:MoveFirst() }
oBrow:bGoBottom = { || oRs1:MoveLast() }
oBrow:bSkip = { | nSkip | Skipper( oRs1, nSkip ) }
oBrow:cAlias = "ARRAY1"

ACTIVATE DIALOG oDlg1;
ON INIT oDlg1:SetControl( oBrow )

oRs1:Close()

RETURN NIL

//-------------------------------
STATIC FUNCTION SKIPPER( oRsx, nSkip )

LOCAL nRec := oRsx:AbsolutePosition

oRsx:Move( nSkip )

IF oRsx:EOF; oRsx:MoveLast(); ENDIF
IF oRsx:BOF; oRsx:MoveFirst(); ENDIF

RETURN( oRsx:AbsolutePosition - nRec )

Friday, June 26, 2009

Latest Harbour MiniGUI 1.6 Extended Edition (Build 69)

CCH : From the HMG Extended Forum

Hi All,

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

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

and the Lite build 69 at the following URL:

http://hmgextended.com/files/CONTRIB/hmg-1.6-69-setup-lite.zip

There is the following changelog for this build below:

2009/06/25: Build 69 (HMG 1.6 Extended Edition) Published.
* New: The Main menu supports an optional MRU menu item command now.
Syntax:
MRU[ITEM] [ ] ; // caption for empty MRU item
[ ] ; // .INI to manipulate
[ SECTION ] ; // The name of the INI section
[ ] ; // The number of MRU items to manage
[ ACTION MsgInfo( cMruItem ) ] ; // cMruItem is automatically provided
[ NAME ] // The name of MRU items (default is "MRU_#")
Additional functions:
- AddMRUItem(, "OnClickFunc(Item)")
- AddMenuElement(, "OnClickFunc(Item)")
- SaveMRUFileList()
- ClearMRUList()
Based upon a contribution by Janusz Pora <januszpora@onet.eu>
(see demos in folder \samples\Advanced\MRU)
* Fixed: GetBox control allows to erase "-" sign in numeric value when control is re-edited.
Contributed by Jacek Kubica <kubica@wssk.wroc.pl>
* Changed: The function _dummy() is defined as pseudo-function now.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Enhanced: The GRID control supports an optional CHECKBOXES clause:
- New: Read/Write property CheckboxItem
You can set/get this property at runtime:
- function syntax:
SetProperty ( Form, Control, 'CheckboxItem', nItem, lState )
GetProperty ( Form, Control, 'CheckboxItem', nItem )
- pseudo-OOP syntax:
Form.Grid.CheckboxItem( nItem ) := lState
Form.Grid.CheckboxItem( nItem ) --> lState
Contributed by Eduardo Fernandes <modalsist@yahoo.com.br>
(see demo in folder \samples\Basic\CheckBox_Grid)
* Enhanced: The function WindowsVersion() detects now a Windows 7 (seven).
Borrowed from Harbour 2.0 distribution.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
* Updated: Adaptation FiveWin Class TSBrowse 7.0 in HMG:
- Fixed: Usage of function ComboWBlock( oBrowse, "Code", nColumn, { aItems, aCode } ).
Bug was reported by Carlos <arcjv@yahoo.com.ar>.
Contributed by Janusz Pora <januszpora@onet.eu>
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3):
- updated for using SQLITE3 version 3.6.15
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demos in folders \samples\Advanced\SQLITE and \samples\Advanced\SQLITE_2)
* Updated: MiniPrint library (see source in folder \Source\MiniPrint):
- Fixed: Save EMF images to local path.
Based upon a contribution by Ivanil Marcelino <ivanil@linkbr.com.br>.
* Updated: Synchronized an Extended HMG with an Official HMG 2.9.2:
- New: Property style synonyms for the following DEFINE WINDOW command clauses:
- Row (At Clause)
- Col (At Clause)
- WindowType (Main/Mdi/Modal/Child/SplitChild Clauses)
(see demo in folder \samples\Basic\HELLO_WORLD).
The following synonyms for alternate syntax were added:
- ALIGNMENT (CENTERALIGN,RIGHTALIGN);
- DATATYPE (NUMERIC,CHARACTER,DATE);
- CASECONVERT (UPPERCASE,LOWERCASE);
- TICKMARKS (NOTICKS).
* Updated: Harbour Compiler 2.0.0beta1 (SVN 2008-06-18 14:21):
* Updated: HbSQLite3 library source code (see in folder \Source\HbSQLite3)
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.8.8. Project Manager and Two-Way Visual Form Designer.
Contributed by Walter Formigoni <walter.formigoni@uol.com.br>
(look at changelog.txt in folder \Ide)
* Updated: 'Http Get' sample. Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Basic\HttpGet)
* Updated: 'Combined Search Box' sample.
Problem was reported by Alen Uzelac <solvox@bbm.hr>.
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demo2.prg in folder \samples\Advanced\CombinedSearchBox)
* Updated: 'Grid Print' user component interface (UCI) sample:
- Fixed: Show window command error
- Fixed: When columns are summed up, column width is not calculated according to
the total. Now, total is within the column width.
- Changed: When column sum is used, number mask passed on is used for the whole column
to be printed to make the column look uniform.
- New: "Reset Form" button is added to reset the report configuration saved
in the config file reports.cfg.
Contributed by S.Rathinagiri <srgiri@dataone.in>
(see in folder \samples\Advanced\GridPrint)
* Updated: 'Transparent Form' samples. Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see demos in folder \samples\Advanced\Transparency)
* Updated: 'DBFview v.0.78' sample. Problem was reported by Petr Chornyj <myorg63@mail.ru>
Contributed by Grigory Filatov <gfilatov@freemail.ru>
(see in folder \samples\Applications\DBFview)

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

Your comments are welcome!

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

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.