hmg-4 Changelog

Moderator: Rathinagiri

Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Re: hmg-4 Changelog

Post 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? ;-)
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post 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?
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post 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
Luigi from Italy
www.L3W.it
Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Re: hmg-4 Changelog

Post 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.
Last edited by Ricci on Wed Dec 21, 2011 6:08 pm, edited 1 time in total.
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Hi Ricci.
Many thanks for your answer. We must investigate with Santa Claus :D

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
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post 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
Luigi from Italy
www.L3W.it
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

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
Luigi from Italy
www.L3W.it
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post 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
Luigi from Italy
www.L3W.it
Ricci
Posts: 255
Joined: Thu Nov 19, 2009 2:23 pm

Re: hmg-4 Changelog

Post 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
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: hmg-4 Changelog

Post by l3whmg »

Hi Ricci.
You are my :evil:
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
Luigi from Italy
www.L3W.it
Post Reply