Page 23 of 30
Re: hmg-4 Changelog
Posted: Mon Nov 28, 2011 11:38 am
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 !
Re: hmg-4 Changelog
Posted: Mon Nov 28, 2011 4:25 pm
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).
Re: hmg-4 Changelog
Posted: Mon Nov 28, 2011 5:28 pm
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()
Re: hmg-4 Changelog
Posted: Mon Nov 28, 2011 5:44 pm
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()
Re: hmg-4 Changelog
Posted: Mon Nov 28, 2011 8:23 pm
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).
Re: hmg-4 Changelog
Posted: Mon Nov 28, 2011 8:54 pm
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.
Re: hmg-4 Changelog
Posted: Mon Nov 28, 2011 9:57 pm
by Roberto Lopez
Re: hmg-4 Changelog
Posted: Tue Nov 29, 2011 2:05 am
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.
Re: hmg-4 Changelog
Posted: Tue Nov 29, 2011 8:59 am
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
Re: hmg-4 Changelog
Posted: Wed Nov 30, 2011 10:20 am
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