Page 1 of 4

HMG 3.0.20 Final Release

Posted: Sun Feb 07, 2010 5:23 pm
by Roberto Lopez
Hi All,

Here we are... some months and 19 test releases later, the 3.0(.20) final release is here.

Changes from 3.0.19 test are the following:

- Changed: Using mouse to exit a cell editing in grid is the same as <Return>.

- Fixed: PostGreSql.5 sample. Contributed by Ricci.

The final changelog is:
- HMG 3.0.20 Changelog:

- New: Virtual Grid supports allowedit, ColumnWhen, ColumnValid
DynamicBackColor, DynamicForeColor and ColumnControls properties now.
Sample: GRID_24.

- New: 'ColumnControls' property supports now EDITBOX (use [Ctrl+W] to
accept and [Esc] to exit). Sample: GRID_25.

- New: 'ColumnControls' (Grid) property supports now a third parameter for
ComboBox control. This new parameter is an array with values to be stored
in the grid instead the numeric position of the selected combo item.
Sample: GRID_27.

- Changed: Using mouse to exit a cell editing in grid is the same as
<Return>.

- New: Tables support for Grid control:

- 'RowSource' Property.
- 'ColumnFields' Property.
- 'AllowAppend' Property.
- 'AllowDelete' Property.
- 'Buffered' Property.
- 'DynamicDisplay' Property.
- 'RecNo' Property.
- 'Append' Method.
- 'Save' Method.
- 'Refresh' Method.
- 'Delete' Method.
- 'Recall' Method.


In 'Buffered' mode, adding a record, store it in a temporary
(1 record buffer). This buffer is flushed when you add another
record, with the 'Save' method or when the grid control is
released. The main advabtage of this way is that the new record
goes to the end of the grid, not being affected by current
index order (it will be ordered when saved).

'Append' has the Alt+A shortcut.
'Save' has the Alt+S shotcut.
'Delete' has the Alt+D shotcut.
'Recall' has the Alt+R shotcut.

'DynamicDisplay' property allows to define a code block array
to customize cell content displayed for each column.
This.CellValue, This.CellRowIndex and This.CellColIndex
are available for evaluation inside the block.

You can set currently selected item with the 'Value'
property, as in a standard 'CellNavigation' style grid.
Alternatively you can use 'RecNo' property to set selected
item with physical record number.

'Refresh' method is meant to update changes made outside from
grid.

Deleted records can't be edited and are shown in light gray
FontColor.

Is this redundant, duplicating Browse functionality?: No!

Please, read the 'Something funny happened in the way to
the browse' article in HMG Forum (http://www.hmgforum.com) for a
detailed explanation.

Samples: GRID_25, GRID_26, GRID_27, GRID_28, GRID_29, GRID_30.

- Fixed: 'OnChange' procedure fired by gotfocus/lostfocus events for
numeric (inputmask) textbox. Reported by Grigory Filatov.

- Fixed: Problems with editable Grid (cell-navigation style).
Reported by Sudip.

- Fixed: Problems with timer. Reported by Grigory Filatov.

- Fixed: Problems with when block in Browse control. Reported by Luis Vasquez.

- Fixed: Problems with numeric group expression in report generator.
Reported by Fernando Chirico.

- Fixed: Problem when group header is omited in report generator.
Reported by Sudip.

-Fixed: Virtual GRID update problems. Reported by Vanguarda.

- Modified: HMG installation is portable now, so it could be installed
in a different folder than c:\hmg and work without need to reconfigure.

- Updated: Harbour compiler to 2.0.0 (r13372) OFFICIAL DISTRIBUTION.

- Updated: MingW compiler to 4.4.1

- New: MULTILINE property for TAB control.

- New: Resources files set. Contributed by Vanguarda.

- Modified: Added error checking to 'ColumnWhen' and 'ColumnValid'
Browse/Grid events. From this release, when an attempt to edit a
Browse/Grid cell inside these event procedures is done, a runtime
error is generated. The reason for this is to avoid attempts to edit
two o more cells simultaneously in different control instances.
Reported by Luis Vazquez.

- Modified: Portuguese Messages. Contributed by Salamandra.

- Modified: Samples.

Removed: ADORDD samples (adordd not working on
current Harbour release)

Added:

-\HMG\SAMPLES\RDD.SQL\MYSQL
-\HMG\SAMPLES\RDD.SQL\ODBC
-\HMG\SAMPLES\RDD.SQL\ARRAY
-\HMG\SAMPLES\MEMORY.TABLES
-\HMG\SAMPLES\MULTI.WIN
-\HMG\SAMPLES\SQLITE
-\HMG\SAMPLES\POSTGRESQL
-\HMG\SAMPLES\NETIO.01
-\HMG\SAMPLES\NETIO.01
-\HMG\SAMPLES\HMGTALK

Modified:

-\HMG\SAMPLES\MULTI.PRG
-\HMG\SAMPLES\CONTAINERS\TOOLBAR*

New: 'Build.bat' (it replaces 'compile.bat').

Build [/i|/r|/d|/cs|/ci/cr] <PrgFile> | <filelist.hbp> [config.hbc]

[/i] : incremental build
[/r] : incremental build (rebuild all)

[/cs] : Console/mixed mode (std build)
[/ci] : Console/mixed mode (incremental build)
[/cr] : Console/mixed mode (incremental rebuild all)

[/d] : Debug mode (gui and console)

<filelist.hbm> : A text file with .hbp extension containing a source list
<configfile.hbc>: A text file with configuration parameters as additional
libs, include paths and lib paths.

<configfile.hbc> Syntax:

incpaths = incpath1 incpath2 ... incpathn

libpaths = libpath1 libpath2 ... libpathn

libs = lib1 lib2 ... libn

mt=yes (multi-threading support)

- library names must not include 'lib' prefix nor '.a' extension.

- 'build.bat' will create an 'error.log' file in the app folder when build
process ends with an error condition.

Sample: \HMG\SAMPLES\MULTI.PRG

- Modified: From this release, BROWSE is considered a compatibility
(obsolete) control and therefore not recommended. It is superseded
by the GRID control.
Thanks to all that made this release possible with bug reports, code, ideas and wishes.

Download: site

Re: HMG 3.0.20 Final Release

Posted: Sun Feb 07, 2010 6:15 pm
by Rathinagiri
I am glad and proud to be the first to reply. :)

Thanks a lot Roberto.

Re: HMG 3.0.20 Final Release

Posted: Sun Feb 07, 2010 6:28 pm
by gfilatov
Roberto Lopez wrote:Hi All,
Here we are... some months and 19 test releases later, the 3.0(.20) final release is here.
...
Thanks to all that made this release possible with bug reports, code, ideas and wishes.
Hi Roberto,

Great news!

Thanks a lot :!:

Re: HMG 3.0.20 Final Release

Posted: Sun Feb 07, 2010 7:39 pm
by apais
Thank you Roberto !
I hope not to be too late but I have a little request...

Would it be possible to add another event to EDIT EXTENDED command ?

I need an ON DELETE socket to put a replaceable codeblock on it.

Regards
Angel

Re: HMG 3.0.20 Final Release

Posted: Sun Feb 07, 2010 8:12 pm
by Roberto Lopez
apais wrote:Thank you Roberto !
I hope not to be too late but I have a little request...

Would it be possible to add another event to EDIT EXTENDED command ?

I need an ON DELETE socket to put a replaceable codeblock on it.

Regards
Angel
Well... this will go to wish-list for 3.1.

Please consider that EDIT and EDIT EXTENDED code is not mine. It is a contribution by Cristobal Mollá, so, could be very difficult to me to add new features to it.

So, any help, suggestions, and CODE are welcome :)

Re: HMG 3.0.20 Final Release

Posted: Sun Feb 07, 2010 10:34 pm
by Vanguarda
Hi friends,

Roberto, many thanks for your amazing work. The changes of this version "3.0" are fantastic. It´s realy great.

With best regards,

Re: HMG 3.0.20 Final Release

Posted: Mon Feb 08, 2010 4:06 am
by sudip
Hello Roberto,

Thanks a lot for this excellent final version. :D I downloaded it. And I shall confirm after testing. :)

With best regards.

Sudip

Re: HMG 3.0.20 Final Release

Posted: Mon Feb 08, 2010 5:26 am
by swapan
Great!
Thanks to all who contributed Roberto Sir with their feedbacks!!
And there's no words for the kind of excellent work Roberto Sir is doing for HMG Community.

Regards,
Swapan

Re: HMG 3.0.20 Final Release

Posted: Mon Feb 08, 2010 6:28 am
by mol
Many thanks Roberto for your great work!
Marek

Re: HMG 3.0.20 Final Release

Posted: Mon Feb 08, 2010 6:42 am
by raumi75
Congratulations to this milestone release!

And thank you for making this software.

Raumi