HMG 3.3.1 (Stable)
Moderator: Rathinagiri
Re: HMG 3.3.1 (Stable)
Perfecto Gregory, muchas gracias !!!.
Entonces con la Standard Syntax (xBase Style) le falla la propiedad SORT.
-------------------------------------------
Gregory Perfect, thank you very much !!!.
Then with the Standard Syntax (xBase Style) SORT property fails.
Entonces con la Standard Syntax (xBase Style) le falla la propiedad SORT.
-------------------------------------------
Gregory Perfect, thank you very much !!!.
Then with the Standard Syntax (xBase Style) SORT property fails.
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: HMG 3.3.1 (Stable)
Gracias Gregory por tu apoyo!
Excelente
Saludos
Excelente
Saludos
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.3.1 (Stable)
Hi Rathi and Claudio, I would like to make additional requests in this matter.Rathinagiri wrote:Thank you Marek. Will use it.mol wrote:I've modified h_controlmisc.prg to allow user to enter base filename for saving his prinouts:
1. The enlarged option "Save as" in preview brought an inconvenient for those clients/companies do not wish to able users for saving reports. I suggest to let programmer let setted if this option could be used or not for any user. IMHO we could arrange to disable save button at preview, as Daniel Maximiliano indicated. See picture below: With previously setting trhu a CONSTANT (for example) we probably can let it disabled this option of "save as" by the button. Here in this topic the user demand.
2. With PREVIEW option, _HMG_PRINTER_STARTPAGE_PREVIEW creates metafiles in tempory folder using TempFolder() function. I would like this option also be settable path previously by the programmer. By this, we would have all the metafiles already created in the settable path without to be saved again and in duplicity. But also will need to let it optional for deleting metafiles when is _HMG_PRINTER_ENDPAGE_PREVIEW is actioned.
3. Our friend Marek presented a solution for mask name (wildcard, template names) to use for "Save as" option in preview. I would like to make it this mask names previously, probably by setting mask priviously thru a CONSTANT before executing the preview.
Briefly:
Shall it be created 3 CONSTANTs to attend these 3 optional cases. When not used, will be acted as always came up working. Not changing. That is, while maintaining backward compatibility.
SAVE_AS := .T. or .F. (default is .T., when variable is Nil)
MASK_FILE := <Template name> (default is "HMG_MiniPrint_", when variable is Nil)
EMF_PATH := <Full path> (default is obtained by GetTempFolder()+ _HMG_SYSDATA [ 379 ], when variable is Nil)
What do you think about these indications ? Can it be implemented at HMG lib ? Do you need to I present my source codes ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: HMG 3.3.1 (Stable)
Excelente Idea Pablo César!
Saludos
Saludos
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
HMG 3.3.1 (Stable)
Thank you Marek and Javier for your comments.
I have intentions to use HMG_PRINT (graphical mode) in console app and I believe to generate EMF files (not making preview, not by _HMG_PRINTER_SHOWPREVIEW) and keeps metafiles saved in app folder. Because thru EMF I can still print it and in the future I can use _HMG_PRINTER_SHOWPREVIEW with few changings.
I still have some clients with console mode one app that I can not migrate yet and to take control of metafiles will be also great !
I have intentions to use HMG_PRINT (graphical mode) in console app and I believe to generate EMF files (not making preview, not by _HMG_PRINTER_SHOWPREVIEW) and keeps metafiles saved in app folder. Because thru EMF I can still print it and in the future I can use _HMG_PRINTER_SHOWPREVIEW with few changings.
I still have some clients with console mode one app that I can not migrate yet and to take control of metafiles will be also great !
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Rare Behaviour
Hi Friends
I've experimente an extrange behaviour of columcontrol in grid.-
On both types of definitios (normal or defined), don't exhibit numbers with punctuation.-
I attach a *.prg to show you the problem.-
Perhaps i've made a mistake, but i don't think so.-
Tables are created automatically.-
If someone could show me the error, will be apreciated.-
With regards.
Eduardo
I've experimente an extrange behaviour of columcontrol in grid.-
On both types of definitios (normal or defined), don't exhibit numbers with punctuation.-
I attach a *.prg to show you the problem.-
Perhaps i've made a mistake, but i don't think so.-
Tables are created automatically.-
If someone could show me the error, will be apreciated.-
With regards.
Eduardo
- Attachments
-
- demo2.zip
- (1.71 KiB) Downloaded 207 times
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: HMG 3.3.1 (Stable)
Hola Eduardo Luis,
Recuerda que la propiedad "COLUMNCONTROLS { aCtrl_1 , aCtrl_2 , aCtrl_3 } ;", esta nos ayuda al editar el GRID...
Y "DYNAMICDISPLAY" nos sirve para visualizar la forma en que se muestran los datos en la GRID.,
Ejemplo: C:\hmg.3.3.1\SAMPLES\Controls\Grid\GRID_26
Saludos
Recuerda que la propiedad "COLUMNCONTROLS { aCtrl_1 , aCtrl_2 , aCtrl_3 } ;", esta nos ayuda al editar el GRID...
Y "DYNAMICDISPLAY" nos sirve para visualizar la forma en que se muestran los datos en la GRID.,
Ejemplo: C:\hmg.3.3.1\SAMPLES\Controls\Grid\GRID_26
Code: Select all
bdDisplay_1 := { || TRANSFORM(This.CellValue,"@!") }
bdDisplay_2 := { || TRANSFORM(This.CellValue,"@!") }
bdDisplay_3 := { || TRANSFORM(This.CellValue,"999,999,999") }
DYNAMICDISPLAY { bdDisplay_1 , bdDisplay_2 , bdDisplay_3 } ;
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: HMG 3.3.1 (Stable)
Hola Javier:
Gracias por tu ayuda.-
De todos modos, fijate en el sample GRID_20, donde no hay DYNAMICDISPLAY, y en pantalla visualizas correctamente la definición del COLUMNCONTROL.-
De hecho, para respetar la puntuación decimal que utilizamos en argentina, le adicioné ' , "E"', y se visualiza correctamente.-
Entiendo que no debería haber diferencias de funcionamiento esté el GRID cargado con datos de una tabla, que - como en el ejemplo del GRID_20 - con datos provenientes de una matriz.-
Solo por curiosidad, intenta el ejemplo del GRID_20 - que funciona correctamente con un array - pero cargándolo con una tabla (que tenga idéntico contenido).- Verás que al estar cargado el GRID con el contenido de la tabla, desconoce el COLUMNCONTROL.-
De todos modos tu aporte me ayuda a resolver el problema, aunque signifique un proceso algo mas complejo para el manejo de los decimales.-
Desde ya te quedo muy agradecido por tu colaboración.-
Cordialmente.
Eduardo
Gracias por tu ayuda.-
De todos modos, fijate en el sample GRID_20, donde no hay DYNAMICDISPLAY, y en pantalla visualizas correctamente la definición del COLUMNCONTROL.-
De hecho, para respetar la puntuación decimal que utilizamos en argentina, le adicioné ' , "E"', y se visualiza correctamente.-
Entiendo que no debería haber diferencias de funcionamiento esté el GRID cargado con datos de una tabla, que - como en el ejemplo del GRID_20 - con datos provenientes de una matriz.-
Solo por curiosidad, intenta el ejemplo del GRID_20 - que funciona correctamente con un array - pero cargándolo con una tabla (que tenga idéntico contenido).- Verás que al estar cargado el GRID con el contenido de la tabla, desconoce el COLUMNCONTROL.-
De todos modos tu aporte me ayuda a resolver el problema, aunque signifique un proceso algo mas complejo para el manejo de los decimales.-
Desde ya te quedo muy agradecido por tu colaboración.-
Cordialmente.
Eduardo
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG 3.3.1 (Stable)
Good idea Pablo.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.