HMG 2.5.6

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

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

HMG 2.5.6

Post by Roberto Lopez » Thu Aug 14, 2008 9:23 pm

Harbour MiniGUI 2.5.6:

English:

- Updated: Harbour Compiler to 1.0.0 FINAL VERSION!!! (Thanks to
Harbour project team for that GREAT JOB).

- New: 'HeaderImages' property for Grid and Browse controls.
This is a character array containing image filenames or
resourcenames (one for each column).
To change a header's image at runtime you must specify the column
position as argument.


Sample (Control definition):

DEFINE GRID Grid_1
ROW 10
COL 10
WIDTH 500
HEIGHT 330
HEADERS {'Last Name','First Name','Phone'}
WIDTHS {140,140,140}
ITEMS LoadItems()
VALUE 1
HEADERIMAGES { '00.bmp' , '01.bmp' , '02.bmp' }
END GRID


Sample (Set image at runtime):

Form_1.Grid_1.HeaderImages(1) := '03.bmp'


Sample (Get Image at runtime):

MsgInfo ( Form_1.Grid_1.HeaderImages(1) )

More Samples: \hmg\samples\grid_18, \hmg\samples\browse_6


- Fixed: ComboBox with images not working on Win9x systems. Thanks to
Grigory for the report.

- Fixed: Misc errors in reference doc. Thanks to Esgici.

Español:

- Actualizado: Harbour a la versión 1.0.0 FINAL!!! (Gracias a todo
el euipo de Harbour por este GRAN TRABAJO!!).

- Nuevo: Propiedad 'HeaderImages' para Grid y Browse.
Es un array de caracteres conteniendo nombres de archivo de imagen
o recursos (uno por cada columna).
Para cambiar la imagen del header en tiempo de ejecución debe
especificarse la posición de la columna como argumento.


Ejemplo (Definición del control):

DEFINE GRID Grid_1
ROW 10
COL 10
WIDTH 500
HEIGHT 330
HEADERS {'Last Name','First Name','Phone'}
WIDTHS {140,140,140}
ITEMS LoadItems()
VALUE 1
HEADERIMAGES { '00.bmp' , '01.bmp' , '02.bmp' }
END GRID


Ejemplo (Establecer la imagen en tiempo de ejecución):

Form_1.Grid_1.HeaderImages(1) := '03.bmp'


Ejemplo (Obtener el nombre de la imagen en tiempo de ejecución)

MsgInfo ( Form_1.Grid_1.HeaderImages(1) )

Más ejemplos: \hmg\samples\grid_18, \hmg\samples\browse_6


- Solucionado: Problemas con ComboBox con imágenes en sistemas Win9x.
Gracias a Grigory por el reporte.

- Fixed: Misc errors in reference doc. Thanks to Esgici.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

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

Post by esgici » Fri Aug 15, 2008 10:56 pm

Roberto Lopez wrote:Harbour MiniGUI 2.5.6:
- Updated: Harbour Compiler to 1.0.0 FINAL VERSION!!! (Thanks to
Harbour project team for that GREAT JOB).
Harbour team succeed a really great job. Many thanks to firstly Przemyslaw Czerpak, Viktor Szakats and others.
- New: 'HeaderImages' property for Grid and Browse controls.
Big enhancement. :)

Here my humble demo: Header imaging and colomn sorting added grid sample : Mini Agenda

Regards
Viva INTERNATIONAL HMG :D

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 » Sat Aug 16, 2008 8:48 pm

esgici wrote:
Roberto Lopez wrote:Harbour MiniGUI 2.5.6:
- Updated: Harbour Compiler to 1.0.0 FINAL VERSION!!! (Thanks to
Harbour project team for that GREAT JOB).
Harbour team succeed a really great job. Many thanks to firstly Przemyslaw Czerpak, Viktor Szakats and others.
- New: 'HeaderImages' property for Grid and Browse controls.
Big enhancement. :)

Here my humble demo: Header imaging and colomn sorting added grid sample : Mini Agenda

Regards

Nice... Thanks!

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Post Reply