Page 1 of 6

HMG 3.0.25

Posted: Sun Mar 14, 2010 1:34 am
by Roberto Lopez
- HMG 3.0.25 Changelog:

English:

- New: 'OnSave' method for Data-bound Grid.

This method allows to set a custom save procedure (specially useful with SQL RDDs).

The following properties are available while this method is executing:


- This.EditBuffer: Array of one element per edited cell.

The elements has the following structure:

{ nLogicalRow , nLogicalCol , xValue , nRecNo }


- This.AppendBuffer: Array of one element per appended record.

The elements has the following structure:

{ xFieldValue 1 , ... , xFieldValue n }


- This.MarkBuffer: Array of one element per record marked to be deleted or recalled.

The elements has the following structure:

{ nLogicalRow , nRecNo , cMark ( 'D' or 'R' ) }


Sample: \samples\grid.34


- New: PsPad freeware editor. This is the program editor that I use with IDE and from the command line.

PsPad has a lot of nice features including syntax highlighting. I've recently discovered that it is freely redistributable, so I've decided to include in HMG distribution.

PsPAd is, from this release, the default program editor for IDE, instead NotePad.


Español:


- Nuevo: Método 'OnSave' para Data-bound Grid.

Este método permite establecer un procedimiento 'Save' personalizado (especialmente útil para ser usado con los RDDs SQL).

Las siguientes propiedades están disponibles mientras este método se ejecuta:


- This.EditBuffer: Array (un elemento por cada celda editada).

Los elementos tienen la siguiente estructura:

{ nLogicalRow , nLogicalCol , xValue , nRecNo }


- This.AppendBuffer: Array (un elemento por cada registro agregado).

Los elementos tienen la siguiente estructura:

{ xFieldValue 1 , ... , xFieldValue n }


- This.MarkBuffer: Array (un elemento por cada registro marcado para ser eliminado o recuperado).

Los elementos tienen la siguiente estructura:

{ nLogicalRow , nRecNo , cMark ( 'D' or 'R' ) }


Ejemplo: \samples\grid.34


- Nuevo: PsPad freeware editor. Es un editor de programas que uso para trabajar desde IDE y línea de comando.

PsPAd tiene muchas buenas características, incluyendo resaltado de sintaxis. Recientemente descubrí que puede distribuirse libremente, por lo cual, decidí incluirlo en la distribución de HMG.

Desde esta versión, PsPAd es el editor de m'ódulos por defecto para IDE en lugar de NotePad.
Download / Descarga: site

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 5:06 am
by sudip
Thanks a lot Roberto. I am downloading it :D
Is there any way to activate cell edit with grid when the user will press any key other than arrow keys (like Excel or VFP)? (Please don't mind if you already answered this query before :) ) Currently I need this facility very much.

With best regards.

Sudip

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 6:55 am
by Vanguarda
Hi friends,

Thanks a lot Roberto for this new release.

About PsPad, do you know the "Context Editor"? it is free, fast, estable and small too.

Thanks a lot for your great work.

My best regards,

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 8:48 am
by esgici
Thanks a lot Maestro :)

Best Regards

--

Esgici

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 8:55 am
by Rathinagiri
Thanks a lot Roberto.

I am now using crimson editor (open source). Now I would try PsPad.

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 11:22 am
by sudip
Hello Roberto,

I am using PS Pad for some days. I also used Crimson Editor. Both are very good text editors. :)

With best regards.

Sudip

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 11:53 am
by Roberto Lopez
sudip wrote:Thanks a lot Roberto. I am downloading it :D
Is there any way to activate cell edit with grid when the user will press any key other than arrow keys (like Excel or VFP)? (Please don't mind if you already answered this query before :) ) Currently I need this facility very much.

With best regards.

Sudip
You can set the 'current' (highlighted) cell via 'Value' property (see samples from grid.25 to grid.24).

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 11:57 am
by Roberto Lopez
Vanguarda wrote:Hi friends,

Thanks a lot Roberto for this new release.

About PsPad, do you know the "Context Editor"? it is free, fast, estable and small too.

Thanks a lot for your great work.

My best regards,
Yes, I've tested some time ago.

I prefer PsPad for a lot of reasons, the most important (that I've not found in other editors) is that PsPad can 'remember' the editing line for each file, so, when you open a .prg, you can continue from the last time without the need to perform a search.

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 2:42 pm
by raumi75
Hello Roberto,

thank you very much for the new release! I will try it on monday.

Raumi

Re: HMG 3.0.25

Posted: Sun Mar 14, 2010 3:39 pm
by JALMAG
Gracias maestro Roberto.