Search found 256 matches

by concentra
Tue Dec 13, 2011 3:29 pm
Forum: HMG4 Project Developers' Table
Topic: hmg-4 Changelog
Replies: 295
Views: 9182

Re: hmg-4 Changelog

Code: Select all

2011-12-13 13:30 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
   * samples/VirtualGrid/browse_demo_4.prg
     ! Fixed compiling warning messages.
by concentra
Tue Dec 13, 2011 10:32 am
Forum: HMG4 Project Developers' Table
Topic: Problem pre-processing MenuItem
Replies: 6
Views: 491

Re: Problem pre-processing MenuItem

Hi Luigi. On the other hand I don't remember "MENU ITEM". In my memory I think I was me... I think it born with HMG4 but why? Why not ? I use to write like this in other GUI. Absolutely no: see previous answer. So we must change the function name in order to avoid this preprocessor behavior. On the ...
by concentra
Mon Dec 12, 2011 6:17 pm
Forum: HMG4 Project Developers' Table
Topic: Problem pre-processing MenuItem
Replies: 6
Views: 491

Re: Problem pre-processing MenuItem

Hi Mauricio, Instead MenuItem() please use WITH OBJECT MenuItem..........; END WITH This works Ok Luigi. In fact the problem is that in .CH MENUITEM is a clause and is "translated" by preprocessor when it shouldn't. the line MenuItem():New( 'oItem1',, 'Item 1' , { || MsgInfo( "Item 1" ) } ) Is prep...
by concentra
Mon Dec 12, 2011 6:03 pm
Forum: HMG4 Project Developers' Table
Topic: Problem pre-processing MenuItem
Replies: 6
Views: 491

Re: Problem pre-processing MenuItem

Hi Luigi ! The syntax mix was only a cut and paste in a test program... The following code still don't work: #include "hmg.ch" FUNCTION Main() LOCAL oWindow WITH OBJECT oWindow := MAINWINDOW():New() :Width := 320 :Height := 400 WITH OBJECT MainMenu():New() WITH OBJECT MenuPopup():New( ,, 'Test' ) Me...
by concentra
Mon Dec 12, 2011 5:57 pm
Forum: HMG4 Project Developers' Table
Topic: hmg-4 Changelog
Replies: 295
Views: 9182

Re: hmg-4 Changelog

2011-12-12 15:58 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>) * include/hmg.ch + Added [ TOVAR <varname> ] => [ <varname> := ] compliant syntax to printer objects. * samples/print/demo_1.prg * samples/print/demo_2.prg * samples/print/demo_3.prg * samples/print/demo_4.prg * samples/prin...
by concentra
Mon Dec 12, 2011 5:31 pm
Forum: HMG4 Project Developers' Table
Topic: Problem pre-processing MenuItem
Replies: 6
Views: 491

Problem pre-processing MenuItem

There is a problem while pre-processing MenuItem using OOP syntax. Try compile this : #include "hmg.ch" FUNCTION Main() LOCAL oWindow DEFINE MAINWINDOW oWindow Width 320 Height 400 WITH OBJECT MainMenu():New() WITH OBJECT MenuPopup():New( ,, 'Test' ) MenuItem():New( 'oItem1',, 'Item 1' , { || MsgInf...
by concentra
Fri Dec 09, 2011 3:53 pm
Forum: HMG4 Project Developers' Table
Topic: undefined reference to `HB_FUN_DROPDOWNMENU_PARENTBUTTON'
Replies: 1
Views: 230

undefined reference to `HB_FUN_DROPDOWNMENU_PARENTBUTTON'

Hi. While building samples\everything\demo_1.prg I got an strange error and I was unable to fix. It seems a linker error, not a compiler one. Does anyone know what is this ? What is collect2 ? ../../lib/libhmg.a(dropdownmenu.o):dropdownmenu.c:(.data+0xb8): undefined reference to `HB_FUN_DROPDOWNMENU...
by concentra
Fri Dec 09, 2011 3:48 pm
Forum: HMG4 Project Developers' Table
Topic: TOVAR and TagReference
Replies: 8
Views: 390

Re: TOVAR and TagReference

Luigi, is it ok if I restore hmg_qtlocale.ch until the problem is solved ?
by concentra
Fri Dec 09, 2011 2:39 pm
Forum: HMG4 Project Developers' Table
Topic: hmg-4 Changelog
Replies: 295
Views: 9182

Re: hmg-4 Changelog

2011-12-09 12:34 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>) * samples/checkbutton/demo_2.prg * samples/checkbutton/demo_3.prg * samples/datepick/demo_2.prg * samples/datepick/demo_3.prg * samples/dialogs/demo_1.prg * samples/editbox/demo_2.prg * samples/editbox/demo_3.prg * samples/f...
by concentra
Fri Dec 09, 2011 10:49 am
Forum: HMG4 Project Developers' Table
Topic: hmg-4 Changelog
Replies: 295
Views: 9182

Re: hmg-4 Changelog

Code: Select all

2011-12-09 08:48 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
   * samples/checkbox/demo_2.prg
   * samples/checkbox/demo_3.prg
     ! Fixed compiling warning messages.