Grid2Print - Suggestions

Source code related resources

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 141 times
Been thanked: 131 times
Contact:

Re: Grid2Print - Suggestions

Post by Rathinagiri » Mon Aug 25, 2008 5:57 am

My wishlist for Grid Print:

1. Auto adjustment of default fontsize, orientation, lengthy line word wrap.
2. Saving the settings of each grid called by print method in an ini file like gridprint.cfg, so that every time you need not adjust the settings for that grid.
3. Print Grid Command in addition to plain print method with the parameters
a. Font name, size
b. Paper size, orientation
c. widths (mm) in array

syntax: PRINT GRID cGrid OF cWindow FONT cFontName SIZE nSize PAPERSIZE PRINTER_PAPER_LETTER ORIENTATION PRINTER_ORIENT_PORTRAIT WIDTHS aWidths

Any other suggestions?

Thanks.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3902
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 137 times

Post by Roberto Lopez » Mon Aug 25, 2008 2:02 pm

rathinagiri wrote:My wishlist for Grid Print:

1. Auto adjustment of default fontsize, orientation, lengthy line word wrap.
2. Saving the settings of each grid called by print method in an ini file like gridprint.cfg, so that every time you need not adjust the settings for that grid.
3. Print Grid Command in addition to plain print method with the parameters
a. Font name, size
b. Paper size, orientation
c. widths (mm) in array

syntax: PRINT GRID cGrid OF cWindow FONT cFontName SIZE nSize PAPERSIZE PRINTER_PAPER_LETTER ORIENTATION PRINTER_ORIENT_PORTRAIT WIDTHS aWidths

Any other suggestions?

Thanks.
Since you are the author, I guess that you will make real these dreams for us :)

...

GREAT! :)

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 141 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Mon Aug 25, 2008 5:20 pm

rathinagiri wrote:Here comes the new version. It can be downloaded from here.

Change Log:

1. No parameter is now required for the print method. Just call Form1.Grid1.Print(). Thanks a lot Roberto.
2. Wordwrap option is now available for longer text. For text columns, you can increase/decrease the column size (in mm) using the small button near the column selection table. (see the image) Select wordwrap option in Report Properties.

Image

Image

Please give your suggestions and bug reports. Thanks.
Anybody had checked the new version?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
jrendon
Posts: 92
Joined: Thu Aug 14, 2008 9:21 pm

Post by jrendon » Mon Aug 25, 2008 5:51 pm

Set Language to Spanish

Muy Impresionante tu trabajo rathinagiri, aqui uno se da cuenta de que nos falta mucho por aprender, te felicito.

Duda :?: con un Browse podria funcionar

Set Language to English ( Powered By Google )

Very Impressive rathinagiri your job, here one realizes that we lack a lot to learn, I congratulate you.

Doubt :?: It could work with a Browse

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 141 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Mon Aug 25, 2008 5:56 pm

Thanks jrendon.

It is now working on grid. I am planning to extend this to browse also. As of now, browse is not supported.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3902
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 137 times

Post by Roberto Lopez » Mon Aug 25, 2008 6:30 pm

rathinagiri wrote:
Please give your suggestions and bug reports. Thanks.
Congratulations... It's a great Job.

Please consider to put interface messages in an array, to allow easy translation as HMG does, so it could work woth 'Set language To'.

When this be ready, I'll offer myself for Spanish language translation.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 141 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Mon Aug 25, 2008 6:51 pm

Thanks Roberto. I will do it and post soon.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
esgici
Posts: 4363
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 246 times
Been thanked: 91 times
Contact:

Post by esgici » Tue Aug 26, 2008 1:12 am

rathinagiri wrote: Anybody had checked the new version?
Hi Rathi

Sorry for delay :(

Congratulations, we gained a new tool; many thanks to your efforts.

By adding UCI, wordwrapping and line size editing features and minimizing main/test prg your work has been perfect.

TODO list and suggestions will never end. In fact, computer programs will never terminate; only we use it beginning anywhere, any time.

A little "thing" :

When "Print" button clicked on "main" grid page, "Columns" page open without any selected line. User may don't know that before clicking "Edit text column size", one of lines must be selected in the "Columns" page. In this case, "Edit text column size" button does nothing, left inactive. This is very bad situation by user viewpoint. There may be many way for avoiding this and surely you will select the best.

Regards

--

esgici
Viva INTERNATIONAL HMG :D

User avatar
luisvasquezcl
Posts: 1039
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 12 times
Been thanked: 14 times
Contact:

Post by luisvasquezcl » Tue Aug 26, 2008 3:04 pm

Hello rathinagiri
Excellent work.
We suggest if you can enable a table for messages or gridprint the highlights in the statusbar as for example when it displays the message "You Had selected more columns than to fit in a page" until you realize not start reading anything that appears on the window is not looking that activates the print button.
Congratulation again.
Best regards,

Hola rathinagiri
Excelente trabajo.
Te sugiero si puedes habilitar un cuadro para mensajes del gridprint o lo destaques en el statusbar ya que por ejemplo cuando muestra el mensaje "Se ha seleccionado columnas más largas que la pagina" no te das cuenta hasta comenzar a leer todo lo que aparece en la ventana buscando por que no se activa el botón imprimir.
Felicitaciones nuevamente.
Saludos cordiales,

Luis Vasquez

User avatar
Rathinagiri
Posts: 5181
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 141 times
Been thanked: 131 times
Contact:

Post by Rathinagiri » Tue Aug 26, 2008 6:36 pm

We suggest if you can enable a table for messages or gridprint the highlights in the statusbar as for example when it displays the message "You Had selected more columns than to fit in a page" until you realize not start reading anything that appears on the window is not looking that activates the print button.
I am sorry I cannot understand what you are pointing out. :( Please explain.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

Post Reply