HMG 3.0.29 TEST (another boring story about a control:)

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.29 TEST (another boring story about a control:)

Post by Roberto Lopez »

Hi All,

The first months of HMG (minigui library at that time) were about experimentation and learning, so I've made many serious mistakes on code and design that were fixed (mostly:) from the first year since the first release.

One of the most notorious mistakes was the PANEL control.

It was aimed to group controls.

It was merely a static child window (a label) with a border. The 'contained' controls were superimposed over the static. This not worked well, since that is not the right way to do it.

I've noticed about the problems when 'someone' made laugh of me in a forum saying something like 'he don't know what is doing' :)

Obviously, the prominent notices saying 'this is an experiment to learn about Windows API and Harbour-C interface' present in my site and library docs were not enough :).

I've retired PANEL and replaced by FRAME control (a proper, but different alternative).

Some days ago, I've remembered PANEL thing while developing an application and said myself: 'Hey... it could be extremely easy to do a PANEL now!'.

It started as a control, but I've finally realized that could be easier to use, understand and more consistent as a new window type.

So, here it is:
- HMG 3.0.29 Changelog:

English:

- New: PANEL Window type.

Panel windows can be embedded in other windows.
You can define a PANEL window inside a DEFINE WINDOW / END WINDOW structure or outside specifiying Parent's name (exactly as a control).
Panel windows are automatically activated through its parent, so explicit activation is not required.

DEFINE WINDOW Win_1 ;
ROW 0 ;
COL 0 ;
WIDTH 400 ;
HEIGHT 400 ;
TITLE 'HMG Panel Window Demo' ;
WINDOWTYPE MAIN

DEFINE WINDOW Win_2 ;
ROW 30 ;
COL 30 ;
WIDTH 300 ;
HEIGHT 200 ;
VIRTUALWIDTH 400 ;
VIRTUALHEIGHT 400 ;
WINDOWTYPE PANEL

<...>

END WINDOW

END WINDOW

ACTIVATE WINDOW Win_1

Samples: \samples\panel.* and \samples\external.windows\panel.

- New: Chinese language support for IDE. Contributed by ouyang.

- Fixed: data-bound grid refresh method problems introduced in 3.0.28. Reported by Sudip and Czarny_Pijar.

- Fixed: data-bound grid 'BackColor' and 'FontColor' properties not working. Reported by mustafa.

Español:

- Nuevo: Ventana tipo PANEL.

Las ventanas tipo PANEL pueden estar contenidas por otras ventanas.

Una ventana tipo PANEL puede definirse dentro de una estructura DEFINE WINDOW / END WINDOW o fuera de ella, simplemente especificando el nombre de su ventana 'parent' (de la misma forma que un control).
Las ventanas tipo PANEL, son autom'áticamente activadas a través de su 'parent', por lo cual una activación explícita no es requerida.

DEFINE WINDOW Win_1 ;
ROW 0 ;
COL 0 ;
WIDTH 400 ;
HEIGHT 400 ;
TITLE 'HMG Panel Window Demo' ;
WINDOWTYPE MAIN

DEFINE WINDOW Win_2 ;
ROW 30 ;
COL 30 ;
WIDTH 300 ;
HEIGHT 200 ;
VIRTUALWIDTH 400 ;
VIRTUALHEIGHT 400 ;
WINDOWTYPE PANEL

<...>

END WINDOW

END WINDOW

ACTIVATE WINDOW Win_1

Ejemplos: \samples\panel.* and \samples\external.windows\panel.

- Nuevo: IDE. Soporte para lenguaje Chino. Contribucón de ouyang.

- Solucionado: Problemas con el método 'refresh' del data-bound grid (introducidos en 3.0.28) Reportado por Sudip y Czarny_Pijar.

- Solucionado: Problemas con las propiedades 'BackColor' and 'FontColor' de data-bound grid. Reportado por mustafa.
Download/Descarga: site
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
srvet_claudio
Posts: 2223
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by srvet_claudio »

Que grande Roberto,
ya me lo estoy bajando y voy a empezar a jugar con el chiche nuevo.
FELICITACIONES y GRACIAS.
Saludos,
Claudio Soto
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by esgici »

Thanks a lot Roberto for this new toy (as Claudio said) :)

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by esgici »

Hi

Tested, no problem found :)

This new control is extremely handy :D

I guess we will wait a few for designing it via IDE ;)

Again, thanks a lot Roberto

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by fchirico »

Excelente Roberto, un control re-piola!

Lo probé sin problemas.
Saludos, Fernando Chirico.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by Roberto Lopez »

esgici wrote: I guess we will wait a few for designing it via IDE ;)
It's already done!

samples\external.window\panel
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by esgici »

Sorry, my hastiness and awkwardness :(

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
luisvasquezcl
Posts: 1261
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by luisvasquezcl »

Muchas Gracias Roberto,
nuevamente sorprendiendonos con novedades.
saludos cordiales,
Luis Vasquez
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: HMG 3.0.29 TEST (another boring story about a control:)

Post by Vanguarda »

Thanks master for this new version.

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


http://hmglights.wordpress.com/
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.29 TEST (another boring story about a control:)

Post by Rathinagiri »

I am so happy to see the new version coming with new things. Thanks.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply