HMG 3.0.20 Final Release
Posted: Sun Feb 07, 2010 5:23 pm
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:
Download: site
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:
Thanks to all that made this release possible with bug reports, code, ideas and wishes.- 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.
Download: site