Page 28 of 30
Re: hmg-4 Changelog
Posted: Wed Dec 21, 2011 2:51 pm
by Ricci
Code: Select all
2011-12-21 15:20 UTC+0100 Ricci Zepmeusel ( ricci at conzoft.de )
+ samples/drag_and_drop/demo_1_cmd.prg
Here is the Drag and Drop demo using a LABEL as drop target.
I don´t know which controls work as a drop target, that has to be tested. Who is willing to do that?

Re: hmg-4 Changelog
Posted: Wed Dec 21, 2011 4:02 pm
by l3whmg
Hi Ricci.
I will try your improvement with LABEL. As I ask you some time ago another can be COMBOBOX.
But many thanks for this.
Cheers
p.s. Have you seen my PM message?
Re: hmg-4 Changelog
Posted: Wed Dec 21, 2011 4:20 pm
by l3whmg
Hi guys.
Code: Select all
2011-12-21 17:15 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
- samples/button/demo_1.prg
- samples/button/demo_2.prg
- samples/button/demo_3.prg
- samples/button/demo_4.prg
+ samples/console/demo_1_oop.prg
+ samples/console/demo_1_cmd.prg
* to show usage of BUTTON using: OOp style and CMD style.
Cheers
Re: hmg-4 Changelog
Posted: Wed Dec 21, 2011 5:38 pm
by Ricci
l3whmg wrote:Hi Ricci.
I will try your improvement with LABEL. As I ask you some time ago another can be COMBOBOX.
Code: Select all
2011-12-21 15:20 UTC+0100 Ricci Zepmeusel ( ricci at conzoft.de )
* samples/drag_and_drop/demo_1_cmd.prg
Sorry Luigi, but COMBOBOX doesn´t work.
Checkbox, Datepicker, Label and Textbox work well as a target. Animatebox, Bitmap and Hyperlink (these are Label objects) will work too.
Combobox doesn´t work as a target.
Editbox, Listbox and Tree work as a target but do not call the OnDropDown event. So unuseful too.
I don´t know if this is a problem by Qt or Harbour.
Re: hmg-4 Changelog
Posted: Wed Dec 21, 2011 5:41 pm
by l3whmg
Hi Ricci.
Many thanks for your answer. We must investigate with Santa Claus
Anyway, I found a bug with TEXTBOX
Code: Select all
2011-12-21 18:30 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
! source/textbox.prg
! a bug related with DataType.
Cheers
Re: hmg-4 Changelog
Posted: Wed Dec 21, 2011 8:12 pm
by l3whmg
Hi to everyone
Code: Select all
2011-12-21 21:05 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
- samples/checkbox/demo_1.prg
- samples/checkbox/demo_2.prg
- samples/checkbox/demo_3.prg
+ samples/checkbox/demo_1_oop.prg
+ samples/checkbox/demo_1_cmd.prg
* to show usage of CHECKBOX using: OOp style and CMD style.
- samples/checkbutton/demo_1.prg
- samples/checkbutton/demo_2.prg
- samples/checkbutton/demo_3.prg
+ samples/checkbutton/demo_1_oop.prg
+ samples/checkbutton/demo_1_cmd.prg
* to show usage of CHECKBUTTON using: OOp style and CMD style.
Cheers
Re: hmg-4 Changelog
Posted: Thu Dec 22, 2011 10:31 am
by l3whmg
Hi friends
Code: Select all
2011-12-21 18:30 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
! source/abstractbutton.prg
! problem with Checked() method. Re-activate internal ::lChecked var
because with ToolButton, without this var, the Qt method doesn't returns
right value.
* include/hmg.ch
+ SET TRANSLDIR TO <cValue> to be used in cmd style. This command is like
HMGAPP():TranslDir( <cValue> )
- samples/agoodstart/demo_1.prg
- samples/agoodstart/demo_1.hbp
- samples/agoodstart/demo_1.qrc
- samples/agoodstart/demo_2.prg
- samples/agoodstart/demo_2.hbp
- samples/agoodstart/demo_2.qrc
- samples/agoodstart/demo_3.prg
+ samples/agoodstart/demo_1_oop.hbp
+ samples/agoodstart/demo_1_oop.prg
+ samples/agoodstart/demo_1_oop.qrc
+ samples/agoodstart/demo_1_cmd.hbp
+ samples/agoodstart/demo_1_cmd.prg
+ samples/agoodstart/demo_1_cmd.qrc
* to show difference between OOp style and CMD style.
Cheers
Re: hmg-4 Changelog
Posted: Thu Dec 22, 2011 11:06 am
by l3whmg
Hi,
as Mr Duck suggested to me, the "TranslDir" name it's not comfortable.
Code: Select all
2011-12-22 11:50 UTC+0100 Luigi Ferraris ( <luigi at l3w.it> )
! include/hmg.ch
! source/hmgapp.prg
! samples/agoodstart/demo_1_cmd.prg
! samples/agoodstart/demo_1_oop.prg
! renamed TranslDir() method into TranslateDir()
! renamed SET TRANSLDIR TO... command into SET TRANSLATEDIR TO...
! Changelog
! wrong date previous commit
Little brief about setting up translation dir. By default, Qt search translations file within <programFolder>/Translations then in other like <Qt/Translations>. You need to change this value only when your folder is more different (eg. "/anotherFolder/SubFolder/Translations" ).
Cheers
Re: hmg-4 Changelog
Posted: Thu Dec 22, 2011 9:14 pm
by Ricci
Code: Select all
2011-12-22 22:15 UTC+0100 Ricci Zepmeusel ( ricci at conzoft.de )
* samples/drag_and_drop/demo_1_cmd.prg
! source/combobox.prg
- method OnDropDown
! now Combobox can function as a drop target
Re: hmg-4 Changelog
Posted: Thu Dec 22, 2011 10:19 pm
by l3whmg
Hi Ricci.
You are my
I'm have finished with Checked.... but I need time because I'm revising samples/alldemo...... In a few minutes (or 1 hour

) I will do a commit.
Cheers