Harbour MiniGUI 2.7.0

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

Moderator: Rathinagiri

User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Harbour MiniGUI 2.7.0

Post by Roberto Lopez »

- Harbour MiniGUI 2.7.0 Changelog:


English:


- New: WAIT WINDOW command.


This command shows a window with a custom message and pauses
program execution until a key is pressed or mouse is clicked.

When optional NOWAIT clause is specified program execution
continue after message is displayed. To hide the message
window WAIT CLEAR must be used.

This command must be used only after main window was activated.

Syntax (Command):

WAIT WINDOW <cMessage> [ NOWAIT ] | CLEAR

Syntax (Function):

WaitWindow ( [ cMessage , lNoWait ] )

To hide the message window (WAIT CLEAR) you must omit
both parameters.

Sample 1:

WAIT WINDOW "Press any key to continue"

Sample 2:

WAIT WINDOW "Processing" NOWAIT
<...>
WAIT CLEAR

More Samples: \hmg\samples\wait_window


- New: 'System' object. It will aloow to read (and write when possible)
various operating system properties.
The first implementation allows to access (read and write) the system
clipboard and various system settings (read only).
Clipboard functions are based upon HWGUI and WHAT32 code.

Syntax:

System.Clipboard [ := <cString> ]

System.DesktopWidth
System.DesktopHeight
System.DefaultPrinter
System.DesktopFolder
System.MyDocumentsFolder
System.ProgramFilesFolder
System.SystemFolder
System.TempFolder
System.WindowsFolder

Samples:

System.Clipboard := 'a string'

<...>

MsgInfo(System.Clipboard)

<...>

MsgInfo(Str(System.DesktopWidth))

<...>

MsgInfo(Str(System.DesktopHeight))

<...>

MsgInfo(System.DefaultPrinter)


More samples: \hmg\samples\clipboard.

- Modified: Grid Control: 'This.CellValue' is writable now, so, you can
change the value of the cell being currently edited from inside 'Valid'
cell procedure. Sample: \hmg\samples\grid_14

- Modified: EXECUTE...WAIT command supports HIDE clause now.

- Modified: ADORDD library was replaced with a prior version since the one
currently distributed with Harbour has bugs (Many Thanks to Grigory
Filatov for help on this!).

- Modified: Matteo Baccan socket library are not linked by default
anymore. It will be removed in the next release. Use HBTIP instead.

- Modified: DRAW GRAPH (pie type) accepts bigger than 7 digits values
now (Thanks to Esgici).

- Fixed: Changing grid cell content in the same row being editing, from
a valid procedure not working.

- Fixed: 'AddItem' method and 'Item' (Grid) properties problems in WIn9x
systems.

- Fixed: DRAW GRAPH (pie type) problem with low values (about 0%).


Español:


- Nuevo: comando WAIT WINDOW.


Este comando muestra una ventana con un mensaje personalizado
y pausa la ejecución del programa hasta que se pulsa cualquier
tecla o se hace clic.

Cuando la cláusula opcional nowait se especifica, la ejecución
del programa continua después de mostrar el mensaje
Para ocultar la ventana debe usarse WAIT CLEAR.

Este comando debe utilizarse sólo después de que la ventana
principal se haya activado.

Sintaxis (comando):

WAIT WINDOW <cMessage> [nowait] | CLEAR

Sintaxis (Función):

WaitWindow ([cMessage, lNoWait])

Para ocultar la ventana (WAIT CLEAR) debe omitirse
ambos parámetros.

Ejemplo 1:

WAIT WINDOW "Press any key to continue"

Ejemplo 2:

WAIT WINDOW "Processing" NOWAIT
<...>
WAIT CLEAR

Más ejemplos:\HMG\samples\wait_window

- Nuevo: Objeto 'System'. Permitirá tener acceso de lectura y escritura
a varias propiedades del sistema.
La primera implementación permitirá tener acceso de lectura y escritura
al portapapeles y acceso de lectura a varias propiedades del sistema.
Las funciones de acceso al portapapeles están basadas en código de HWGUI
y WHAT32.

Sintaxis:

System.Clipboard
System.Clipboard := <cString>

System.DesktopWidth
System.DesktopHeight
System.DefaultPrinter
System.DesktopFolder
System.MyDocumentsFolder
System.ProgramFilesFolder
System.SystemFolder
System.TempFolder
System.WindowsFolder

Ejemplos:

System.Clipboard := 'a string'

<...>

MsgInfo(System.Clipboard)

<...>

MsgInfo(Str(System.DesktopWidth))

<...>

MsgInfo(Str(System.DesktopHeight))

<...>

MsgInfo(System.DefaultPrinter)


More samples: \hmg\samples\clipboard.

- Modificado: Control Grid: 'This.CellValue' puede ser modificado.
desde el procedimiento 'ColumnValid'. Ejemplo:\HMG\samples\grid_14

- Modificado: El comando EXECUTE...WAIT soporta ahora la cláusula HIDE.

- Modificado: La librería ADORDD fue reemplazada por una versión anterior
ya que la que se distribuye actualmente con Harbour presenta bugs (Muchas
Gracias a Grigory Filatov por su ayuda!).

- Modificado: La librería 'socket' de Mateo Baccan ya no es enlazada por
defecto y será removida en el próximo release. Debe usarse HBTIP en
su lugar.

- Modificado: FRAW GRAPH (pie type) acepta ahora valores mayores a 7 digitos
(Gracias a Esgici).

- Solucionado: Problemas al cambiar el contenido de las celdas
de un control Grid, desde el procedimiento 'ColumnValid', para
la fila que se está editando.

- Solucionado: Problemas con el método 'AddItem' (Grid)
en sistemas Win9x.

- Solucionado: Problemas con DRAW GRAPH (tipo PIE) con valores bajos
(cercanos al 0%).
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: Harbour MiniGUI 2.7.0

Post by fchirico »

Roberto Lopez wrote:- Harbour MiniGUI 2.7.0 Changelog:

- New: WAIT WINDOW command.

- New: 'System' object. It will aloow to read (and write when possible)
Que GRANDE !!!!

Te pasaste con lo de WAIT WINDOW....

Gracias, muchas gracias!

Saludos, Fernando Chirico.
Saludos, Fernando Chirico.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Harbour MiniGUI 2.7.0

Post by Rathinagiri »

Awesome. Thanks a lot Roberto.

It really is a bonus issue. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Harbour MiniGUI 2.7.0

Post by esgici »

Hi Roberto

Great enhancements :D

Many many thanks.

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Harbour MiniGUI 2.7.0

Post by Roberto Lopez »

Hi All,

As you must know, I've been a FoxPro/Visual FoxPro programmer and WAIT WINDOW is one thing that I miss a lot... so I've decide to have one at HMG :)

Regards,

Roberto.
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: Harbour MiniGUI 2.7.0

Post by esgici »

Hi Roberto

For a long time I had think on a "temporary message" and don't had find a satisfying result.

Thanks a lot again :)

BTW, do you don't sleep at weekends :?:

Best Regards

--

Esgici
Last edited by esgici on Sun Mar 29, 2009 4:34 pm, edited 1 time in total.
Viva INTERNATIONAL HMG :D
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Harbour MiniGUI 2.7.0

Post by Roberto Lopez »

esgici wrote: BTW, do you don't sleep at weekends :?:
Well... believe it or not... programming HMG is an 'entretaining' and 'relaxing' task for me... so... this has been a nice weekend... :)

Anyway... is sunny here... so... if no serious bug appears... I'll ride my dog... he is looking at me in a way that make me feel 'guilty' :)

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Harbour MiniGUI 2.7.0

Post by Roberto Lopez »

Roberto Lopez wrote: I'll ride my dog... he is looking at me in a way that make me feel 'guilty' :)
It's true... here it is :)


Regards,

Roberto.
Attachments
dog.jpg
dog.jpg (268.62 KiB) Viewed 7424 times
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
gfilatov
Posts: 1066
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Harbour MiniGUI 2.7.0

Post by gfilatov »

Roberto Lopez wrote:... if no serious bug appears...
Hi Roberto,

There is a small issue in the procedure _HMG_SetGridCellEditValue() at the new HMG build.

Please be so kind to replace

Code: Select all

...
	ELSEIF	ValType ( arg ) == 'N'

		If IsControlDefined ( 'c' , FormName)

			SetProperty ( "_hmg_grid_inplaceedit" , "c" , "value" , arg )

		ElseIf IsControlDefined ( 's' , FormName)

			SetProperty ( "_hmg_grid_inplaceedit" , "s" , "value" , arg )

		EndIf
...
with

Code: Select all

...
	ELSEIF	ValType ( arg ) == 'N'

		If _IsControlDefined ( 'c' , "_hmg_grid_inplaceedit")

			SetProperty ( "_hmg_grid_inplaceedit" , "c" , "value" , arg )

		ElseIf _IsControlDefined ( 's' , "_hmg_grid_inplaceedit")

			SetProperty ( "_hmg_grid_inplaceedit" , "s" , "value" , arg )

		EndIf
...
Excuse me for disturbing :!:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Harbour MiniGUI 2.7.0

Post by esgici »

Hi Roberto

You are right, he is seeming very bored and enthusiast to go out :)

Good walk :)

Best Regards

--

Esgici
Viva INTERNATIONAL HMG :D
Post Reply