hmg-4 Changelog

Moderator: Rathinagiri

mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: hmg-4 Changelog

Post by mrduck »

Code: Select all

2011-11-28 12:30 UTC+0100 Francesco Perillo ( fperillo at gmail.com )
   * include/hmg3.ch
     * in stric HMG3 compatibility mode FORMAT and INPUTMASK are now
       converted to null. It may have side-effects on TEXTBOXes,
       probably the best would be to add an empty method to abstractgrid.
   * source/abstractgrid.prg
     * added allowDelete and allowAppend, but their values are not used !
I want to stress the fact that there is no implementation code for these methods/commands !
Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Re: hmg-4 Changelog

Post by Ricci »

Code: Select all

2011-11-28 17:15 UTC+0100 Ricci Zepmeusel ( ricci at conzoft.de )
   * source/progressbar.prg
     + added methods Rangemin() and Rangemax()
      ! now the control is working is it should, see samples/progressbar/demo_x

2011-11-28 17:55 UTC+0100 Ricci Zepmeusel ( ricci at conzoft.de )
   * source/progressbar.prg
     + added methods Inverted() and Orientation()
     ! VERTICAL .T. and INVERTED .T. is working now
   * samples/progressbar/demo_3.prg
Methods for displaying text in the progressbar are missing, because of this (?) the progressbar is painted shorter then the given length (I have to add 38 pixel to get it into the right length).
User avatar
Roberto Lopez
HMG Founder
Posts: 4012
Joined: Wed Jul 30, 2008 6:43 pm

Re: hmg-4 Changelog

Post by Roberto Lopez »

2011-11-28 14:12 UTC-0300 Roberto Lopez ( mail.box.hmg@gmail.com )
* source/misc.prg
* hmg3() function name changed to Hmg3_Compatibility()
Regards/Saludos,

Roberto


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

Re: hmg-4 Changelog

Post by Roberto Lopez »

2011-11-28 14:44 UTC-0300 Roberto Lopez ( mail.box.hmg@gmail.com )
* source/basic.prg
* source/combobox.prg
* changed references to HMG3() by Hmg3_Compatibility()
Regards/Saludos,

Roberto


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

Re: hmg-4 Changelog

Post by Roberto Lopez »

2011-11-28 17:15 UTC-0300 Roberto Lopez ( mail.box.hmg@gmail.com )
* include/hmg.ch
+ SET COMPATIBLE ON | OFF commands to handle HMG3_Compatibility() function.
* buildapp.bat
* changed /3 compatibility handling (now it allows to read error messages in notepad).
Regards/Saludos,

Roberto


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

Re: hmg-4 Changelog

Post by Roberto Lopez »

2011-11-28 18:00 UTC-0300 Roberto Lopez ( mail.box.hmg@gmail.com )
* source/animatebox.prg
+ added method Center for HMG3 compatibility.
Regards/Saludos,

Roberto


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

Re: hmg-4 Changelog

Post by Roberto Lopez »

2011-11-28 19:00 UTC-0300 Roberto Lopez ( mail.box.hmg@gmail.com )
* buildapp.bat
* Fixed little problem.
Regards/Saludos,

Roberto


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

Re: hmg-4 Changelog

Post by Roberto Lopez »

Luigi, Francesco, Ricci, Mauricio, Rathi:

As you can see in the ChangeLog, I've made some minor commits related to HMG3 compatibility, specially referred to IDE form designer generated code.

I've made that, to make it easier for IDE users to test HMG.4 regarding backwards compatibility and new (visually created) applications.

Since I'm not involved on the project work at this moment and the library internals had changed, could be that some of my contributions require corrections, if so, please feel free to do it.

I hope that the availability of the IDE for HMG.4 help to the project to grow, until the new IDE be ready.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Re: hmg-4 Changelog

Post by Ricci »

Code: Select all

2011-11-29 08:40 UTC+0100 Ricci Zepmeusel ( ricci at conzoft.de )
   * source/progressbar.prg
     + added method Reset()
     ! TextVisible() is working on horizontal bar now
   * samples/progressbar/demo_3.prg
     ! Take a look what is possible and what isn´t
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Hi friends.

I found a "problem" with bitmap. If I set Picture := "", previous loaded image doesn't disappear.
It's not a real problem because, many times, every one of us creates an empty image to load.

To avoid creating empty image, I add method EmptyColor( aArg1 ), where aArg1 is an array of RGB colors. By default, this is an empty array.
When bitmap fails to load the image, if EmptyColor has a valid array of RGB colors a colored image will be created
In this way, you can always see an image: existing image or empty image.
If you reset ( EmptyColor := {} ), you don't will see a colored image and the bitmap behaviour will be like today.

Usage with OOP syntax

Code: Select all

            WITH OBJECT ::oImage := BITMAP():New()
               :Row           := 150
               :Col           := 65
               :Width         := 500
               :Height        := 300
               :Picture       := ""
               :Stretch       := .T.
               :EmptyColor    := { 158, 158, 158 }
            END WITH

Code: Select all

2011-11-30 11:10 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
   * source/bitmap.prg
     + EmptyColor( aArg1 ) method where aArg1 is an array of RGB colors or an
       empty array (by default empty array). When bitmap fails to load the 
       image, if EmptyColor has a valid array of RGB colors, a colored image 
       will be created.
Cheers
Luigi from Italy
www.L3W.it
Post Reply