HMG 3.0 FORUM TEST XVI

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 FORUM TEST XVI

Post by Roberto Lopez »

Hi All,

Changes on this release:

- Problems in editable grid with 'ColumnWhenproperty. Reported by Sudip.

- Problems with non data-bound grid 'refresh' method. Reported by Marek

- Other problems found by me :)
English:
--------

- 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.

- 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 (www.hmgforum.com) for a
detailed explanation.

Samples: GRID_25, GRID_26, GRID_27.

- 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: 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

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


Español:
--------

- Nuevo: Virtual Grid soporta las propiedades allowedit, ColumnWhen,
ColumnValid, ColumnControls, DynamicBackColor y DynamicForeColor
desde esta versión. Ejemplos: GRID_24 y GRID_25.

- Nuevo: 'ColumnControls' soporta ahora el control EDITBOX ([Ctrl+W]
para aceptar y [Esc] para cancelar). Ejemplo: GRID_25.

- Nuevo: 'ColumnControls' (Grid) soporta ahora un tercer parámetro para
el control ComboBox. Este nuevo parámetro es un array conteniendo los
valores para almacenar en el Grid lugar de la posición del elemento
seleccionado. Ejemplo: GRID_27.

- Nuevo: Soporte para tablas para el control Grid:

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

En el modo 'Buffered', al agregar un nuevo registro, este se
almacenará en un buffer temporal (de un registro).
Este buffer es vaciado y su contenido guardado en la tabla
cuando se agrega un nuevo registro, con el método 'Save' o
cuando el control Grid es eliminado.
la ventaja principal de esta forma de trabajo es que el
nuevo registro se posicionará al final del Grid, sin ser
afectado por el orden impuesto por el índice activo.

'Append' tiene el atajo Alt+A.
'Save' tiene el atajo Alt+S.
'Delete' tiene el atajo Alt+D.
'Recall' tiene el atajo Alt+R.

'DynamicDisplay' permite definir un arrays de code-blocks para
personalizar el contenido de las celdas que se mostrará (un
elemento por columna).
This.CellValue, This.CellRowIndex y This.CellColIndex
estan disponibles para ser evaluados en el code-block.

El registro seleccionado puede establecerse por medio de
la propiedad 'value' de la misma forma que en un grid
con el estilo 'cellnavigation'.
También puede usarse la nueva propiedad 'recno', estableciendo
el item activo por medio de su número de registro físico.

El método 'Refresh' debe usarse para actualizar cambios hechos
a la tabla por fuera de Grid.

Los registros marcados para eliminación no pueden ser editados y
se mostrarán en color gris claro.

Ejemplos: GRID_25, GRID_26, GRID_27.

- Solucionado: Problemas con Grid (editable, cell-navigation).
Reportado por Sudip.

- Solucionado: Problemas con el control Timer. Reportado por Grigory Filatov.

- Solucionado: Problemas con when en Browse. Reportado por Luis Vasquez.

- Solucionado: Problemas expresiones de grupo numéricas en el generador
de reportes. Reportado por Fernando Chirico.

- Solucionado: Problemas con el generador de reportes al no especificar
encabezado de grupo. Reportado por Sudip.

- Soluconado: Virtual GRID. Problemas de actualización.
Reportado por Vanguarda.

- Modificado: La instalación de HMG es portable desde esta versión.
Por lo tanto, puede ser instalado en cualquier carpeta (diferente de
c:\hmg).

- Actualizado: Harbour compiler a 2.0.0 (r13372) DISTRIBUCION OFICIAL.

- Actualizado: MingW compiler a 4.4.1

- Nuevo: Propiedad MULTILINE para el control TAB.

- Nuevo: Conjunto de archivos de recursos. Contribución: Vanguarda.

- Modificado: Mensajes en Portugués. Contribución: Salamandra.

- Modificado: Samples.

Eliminado: Ejemplos ADORDD (adordd no funciona en la
versión actual de Harbour)

Agregados:

-\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.02

Modificado:

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

Nuevo:'Build.bat' (reemplaza a '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.hbp> : Un archivo de texto con la lista de programas del proyecto.
<configfile.hbc>: Un archivo de texto con información de configuración
(librerías adicionales y paths de include y librerías adicionales).

<configfile.hbc> Syntax:

incpaths = incpath1 incpath2 ... incpathn

libpaths = libpath1 libpath2 ... libpathn

libs = lib1 lib2 ... libn

mt=yes (soporte multi-threading)

- Los nombres de librería no deben incluir el prefijo 'lib' ni la
extensión '.a'

- 'build.bat' creará un archivo llamado 'error.log' en la carpeta de la
aplicaci'ón cuando el proceso de compilación falle.


Ejemplo: \HMG\SAMPLES\MULTI.PRG

Download/Descarga: hmg300_Test_16.exe
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 FORUM TEST XVI

Post by Rathinagiri »

Thanks a lot Roberto.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0 FORUM TEST XVI

Post by esgici »

Thanks a lot Maestro :D

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D
JALMAG
Posts: 265
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: HMG 3.0 FORUM TEST XVI

Post by JALMAG »

Muchas gracias maestro Roberto.
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: HMG 3.0 FORUM TEST XVI

Post by sudip »

Hello Master Roberto,
Thanks a lot :)
I tested it and confirm that Celled Grid with ColumnWhen problem was solved :)
Thank you again.
With best regards.
Sudip
With best regards,
Sudip
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG 3.0 FORUM TEST XVI

Post by Vanguarda »

Hi all,

Thanks a lot Master for this new release.

My best regards,
--
Paulo Sérgio Durço (Vanguarda)


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

Re: HMG 3.0 FORUM TEST XVI

Post by mol »

Because of installing websense in my company, I can't download new version of HMG.
Could you place it on SourceForge, Roberto?

thanks, Marek
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG 3.0 FORUM TEST XVI

Post by Vanguarda »

Hello friends,

Master i´ve update the file PtBR.LNG for HMG-IDE. Please so kind, replace it on official distribution.
The line 296 is translated now.

My best regards,

PS: Sorry my bad english.
Attachments
PtBR.rar
(3.24 KiB) Downloaded 313 times
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
Post Reply