Welcome to the Project Developers' Table

Moderator: Rathinagiri

User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

In samples\VirtualGrid\demo_1
If I click "Toogle Multiselect" and the click "Set Value" the demo crashes.

Code: Select all


------------------------------------------------------------------------
Application Internal Error - C:\hmg.SVN\samples\VirtualGrid\demo_1.exe
Terminated at: 2011.05.17 13:47:20
Unrecoverable error 6005: Exception error: 

    Exception Code:C0000005
    Exception Address:655D6D22
    EAX:00000000  EBX:00DE11E8  ECX:00000001  EDX:658BCCC8
    ESI:00DE11C8  EDI:00000000  EBP:0022C838
    CS:EIP:001B:655D6D22  SS:ESP:0023:0022C838
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010202
    CS:EIP: 8B 40 04 8B 40 50 C9 C3 66 90 55 89 E5 8B 45 08
    SS:ESP: 0022C888 65588902 00000000 0061AB40 0022C86C 00F10E54 00F1103C 00000003 0068D974 00000016 0000000F 00000000 000D0022 00000016 0000000F 00000000

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    655D6D22 0022C838   0022C888 65588902 00000000 0061AB40 0022C86C 00F10E54 00F1103C 00000003 0068D974 00000016
    65588902 0022C888   0022C8B8 655B4C9B 00DE11C8 00000000 655B4C74 0058F76F 0068D430 0064CC74 0022C91C 00DC331C


Modules:
0x00400000 0x002E2000 C:\hmg.SVN\samples\VirtualGrid\demo_1.exe
0x7C900000 0x000B6000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x00100000 C:\WINDOWS\system32\kernel32.dll
0x77BF0000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x7E360000 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77E50000 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x6A1C0000 0x00271000 C:\WINDOWS\system32\QtCore4.dll
0x77F50000 0x000AB000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77DB0000 0x00093000 C:\WINDOWS\system32\RPCRT4.dll
0x77F20000 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x6FBC0000 0x00007000 C:\WINDOWS\system32\mingwm10.dll
0x774C0000 0x0013E000 C:\WINDOWS\system32\OLE32.dll
0x71A70000 0x00017000 C:\WINDOWS\system32\WS2_32.DLL
0x71A60000 0x00008000 C:\WINDOWS\system32\WS2HELP.dll
0x6E940000 0x00010000 C:\WINDOWS\system32\libgcc_s_dw2-1.dll
0x65100000 0x00971000 C:\WINDOWS\system32\QtGui4.dll
0x76380000 0x00048000 C:\WINDOWS\system32\COMDLG32.DLL
0x5D510000 0x0009A000 C:\WINDOWS\system32\COMCTL32.dll
0x7C9C0000 0x0081E000 C:\WINDOWS\system32\SHELL32.dll
0x77EA0000 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x76360000 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x77100000 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x76B20000 0x0002E000 C:\WINDOWS\system32\WINMM.DLL
0x72FB0000 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x773B0000 0x00103000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
0x75290000 0x0002E000 C:\WINDOWS\system32\msctfime.ime
0x5B1C0000 0x00038000 C:\WINDOWS\system32\uxtheme.dll

Called from QTABLEVIEW:SETSELECTIONMODEL(0)
Called from VIRTUALGRID:_VALUE(372) in source\virtualgrid.prg
Called from SETGRIDVALUE(220) in demo_1.prg
Called from (b)MAIN(143) in demo_1.prg
Called from QAPPLICATION:EXEC(0)
Called from WINDOW:ACTIVATE(1056) in source\window.prg
Called from MAIN(156) in demo_1.prg
------------------------------------------------------------------------
Application Internal Error - C:\hmg.SVN\samples\VirtualGrid\demo_1.exe
Terminated at: 2011.05.17 13:48:24
Unrecoverable error 6005: Exception error: 

    Exception Code:C0000005
    Exception Address:655D6D22
    EAX:00000000  EBX:00DE11E8  ECX:00000001  EDX:658BCCC8
    ESI:00DE11C8  EDI:00000000  EBP:0022C838
    CS:EIP:001B:655D6D22  SS:ESP:0023:0022C838
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010202
    CS:EIP: 8B 40 04 8B 40 50 C9 C3 66 90 55 89 E5 8B 45 08
    SS:ESP: 0022C888 65588902 00000000 0061AB40 0022C86C 00F0DB94 00F0DD7C 00000003 0068D974 00000016 0000000F 00000000 000D0022 00000016 0000000F 00000000

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...
    655D6D22 0022C838   0022C888 65588902 00000000 0061AB40 0022C86C 00F0DB94 00F0DD7C 00000003 0068D974 00000016
    65588902 0022C888   0022C8B8 655B4C9B 00DE11C8 00000000 655B4C74 0058F76F 0068D430 0064CC74 0022C91C 00DC331C


Modules:
0x00400000 0x002E2000 C:\hmg.SVN\samples\VirtualGrid\demo_1.exe
0x7C900000 0x000B6000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 0x00100000 C:\WINDOWS\system32\kernel32.dll
0x77BF0000 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x7E360000 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77E50000 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x6A1C0000 0x00271000 C:\WINDOWS\system32\QtCore4.dll
0x77F50000 0x000AB000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77DB0000 0x00093000 C:\WINDOWS\system32\RPCRT4.dll
0x77F20000 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x6FBC0000 0x00007000 C:\WINDOWS\system32\mingwm10.dll
0x774C0000 0x0013E000 C:\WINDOWS\system32\OLE32.dll
0x71A70000 0x00017000 C:\WINDOWS\system32\WS2_32.DLL
0x71A60000 0x00008000 C:\WINDOWS\system32\WS2HELP.dll
0x6E940000 0x00010000 C:\WINDOWS\system32\libgcc_s_dw2-1.dll
0x65100000 0x00971000 C:\WINDOWS\system32\QtGui4.dll
0x76380000 0x00048000 C:\WINDOWS\system32\COMDLG32.DLL
0x5D510000 0x0009A000 C:\WINDOWS\system32\COMCTL32.dll
0x7C9C0000 0x0081E000 C:\WINDOWS\system32\SHELL32.dll
0x77EA0000 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x76360000 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x77100000 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x76B20000 0x0002E000 C:\WINDOWS\system32\WINMM.DLL
0x72FB0000 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x773B0000 0x00103000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
0x75290000 0x0002E000 C:\WINDOWS\system32\msctfime.ime
0x5B1C0000 0x00038000 C:\WINDOWS\system32\uxtheme.dll
0x72CD0000 0x00009000 C:\WINDOWS\system32\wdmaud.drv
0x76C10000 0x0002E000 C:\WINDOWS\system32\WINTRUST.dll
0x77A60000 0x00096000 C:\WINDOWS\system32\CRYPT32.dll
0x77B00000 0x00012000 C:\WINDOWS\system32\MSASN1.dll
0x76C70000 0x00028000 C:\WINDOWS\system32\IMAGEHLP.dll
0x72CC0000 0x00008000 C:\WINDOWS\system32\msacm32.drv
0x77BC0000 0x00015000 C:\WINDOWS\system32\MSACM32.dll
0x77BB0000 0x00007000 C:\WINDOWS\system32\midimap.dll
0x014F0000 0x002D0000 C:\WINDOWS\system32\xpsp2res.dll

Called from QTABLEVIEW:SETSELECTIONMODEL(0)
Called from VIRTUALGRID:_VALUE(372) in source\virtualgrid.prg
Called from SETGRIDVALUE(220) in demo_1.prg
Called from (b)MAIN(143) in demo_1.prg
Called from QAPPLICATION:EXEC(0)
Called from WINDOW:ACTIVATE(1056) in source\window.prg
Called from MAIN(156) in demo_1.prg
------------------------------------------------------------------------
[[]] Mauricio Ventura Faria
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

In samples\VirtualGrid\demo_1
If I click "SET Item (2,2)" or "Set Item(4)" and them click "Get Value" I got an error:

Code: Select all

Error BASE/1004 No exported method: ROW
Called from ROW(0)
Called from VIRTUALGRID:VALUE(314)
Called from SHOWGRIDVALUE(180)
Called from (b)MAIN(135)
Called from QAPPLICATION:EXEC(0)
Called from WINDOW:ACTIVATE(1056)
Called from MAIN(156)
[[]] Mauricio Ventura Faria
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

In samples\VirtualGrid\demo_3, in the menu, if I choose "Methods" - "DeleteColumn(2)", the whole data is deleted, not only the column 2.
[[]] Mauricio Ventura Faria
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

P.S. I eliminated almost all :lCreated control stuff from the classes, except from BROWSE, GRID and VIRTUALGRID because I found some difficulties not knowing all the code involved.
If you will revise this classes I can also remove the :lCreated stuff from that classes, but will need your help to revise and correct bugs.
I am just doing that man!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Code: Select all

2011-05-18 10:49 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
  * include/hmg.ch
  * samples/splitbox/demo_1.prg
  * source/splitbox.prg
  * source/window.prg
    * oSplitBox workaround not needed anymore.
[[]] Mauricio Ventura Faria
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: Welcome to the Project Developers' Table

Post by mrduck »

Unfortunately it's "normal"... :-)

you need to cast the object returned as qWidget to the correct type. hbQt returns the "base" class while we should use the "derived" class since in a cell you can insert ANY widget derived from qWidget.... In c++ a simple ( QTextEdit *) is enough, in harbour is a bit more complicated.

In the past we could use hbqt_promotWidget in hbqt_misc.prg but I don't know if it is still valid.


concentra wrote:Rathinagiri in samples\browse\demo_4 , I double-click in a cell and change some info, when I leave editing I got the error:

Code: Select all

Error HBQT/1000 Message not found :TEXT: QWIDGET:TEXT
Called from QWIDGET:TEXT(0)
Called from BROWSE:ONSAVE(697)
Called from (b)BROWSE_CREATE(498)
Called from QAPPLICATION:EXEC(0)
Called from WINDOW:ACTIVATE(1056)
Called from MAIN(63)
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

Yes! I got this same error from contrib/hbqt/tests/browqt.prg also. Roberto said, HMG-Browse is based on this example, I think. So I checked. Thanks for the reasoning.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Code: Select all

2011-05-19 10:17 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
  * source/progressbar.prg
    + Added TextVisible method to show the progress %.
    + Added Format method to format the text shown in the progress %.

2011-05-19 09:01 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
  * source/animatebox.prg
    ! Fixed :File method not returning the current opened file.
[[]] Mauricio Ventura Faria
User avatar
concentra
Posts: 256
Joined: Fri Nov 26, 2010 11:31 am
Location: Piracicaba - Brasil

Re: Welcome to the Project Developers' Table

Post by concentra »

Added an AllInOne demo.

Code: Select all

2011-05-19 15:08 UTC-0300 Mauricio Ventura Faria (<conc001 a+t gmail com>)
  + samples/everything/demo_1.prg
    + Added demo to show all HMG4 controls at once.
[[]] Mauricio Ventura Faria
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Welcome to the Project Developers' Table

Post by Rathinagiri »

The sample of every control is very nice!

However, the rectangular and elliptical regions are not working. :(
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply