HMG 3.0.20 Final Release

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

HMG 3.0.20 Final Release

Post 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
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.20 Final Release

Post by Rathinagiri »

I am glad and proud to be the first to reply. :)

Thanks a lot Roberto.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
gfilatov
Posts: 1100
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: HMG 3.0.20 Final Release

Post 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 :!:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: HMG 3.0.20 Final Release

Post 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
Angel Pais
Web Apps consultant/architect/developer.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.20 Final Release

Post 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 :)
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG 3.0.20 Final Release

Post 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,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 3.0.20 Final Release

Post 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
With best regards,
Sudip
User avatar
swapan
Posts: 242
Joined: Mon Mar 16, 2009 4:23 am
Location: Kolkata, India
Contact:

Re: HMG 3.0.20 Final Release

Post 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
Thanks & Regards,
Swapan Das

http://www.swapandas.com/
User avatar
mol
Posts: 3805
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.20 Final Release

Post by mol »

Many thanks Roberto for your great work!
Marek
User avatar
raumi75
Posts: 135
Joined: Wed Dec 17, 2008 2:31 am
Location: Lünen, Germany
Contact:

Re: HMG 3.0.20 Final Release

Post by raumi75 »

Congratulations to this milestone release!

And thank you for making this software.

Raumi
Post Reply