Page 4 of 30
Re: HMG 3.4.3
Posted: Tue May 10, 2016 3:44 pm
by srvet_claudio
serge_girard wrote:Claudio,
I use it as following:
Code: Select all
FOR A = 1 TO LEN(acTitles)
GRID_SetColumnControl ("Grid_Materiaal", "Form_PR004A", _GRID_COLUMNCAPTION_, A, acTitles [A])
NEXT A
Then I get this error:
C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/pr004.o:pr004.c:(.data+0x598): undefined reference to `HB_FUN_GRID_SETCOLUMNCONTROL'
collect2.exe: error: ld returned 1 exit status
hbmk2[sporserv]: Error: Running linker. 1
gcc.exe C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss000.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/pr004.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss001.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss002.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss00716.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss015.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss020.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss022.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss025.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss030.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss040.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss050.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss050p.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss055.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss100.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss150.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss200.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss900.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/ss_help.o C:/Users/GEBRUI~1/AppData/Local/Temp/hbmk_0c2ksu.dir/hbmk_mcj70k.o P:/hmg.3.0.44/SPORSERV/_temp.o -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -osporserv.exe -LP:/hmg.3.4.2/harbour/lib/win/mingw -LP:/hmg.3.4.2/lib
hbmk2: Error: Referenced, missing, but unknown function(s):
GRID_SETCOLUMNCONTROL()
Serge
GRID_SetColumnControl it is an internal function that name is changed, instead use:
Code: Select all
SetProperty (cFormName, cGridName, cProp, nColumn, xValue)
where cProp:
"COLUMNHEADER"
"COLUMNWIDTH"
"COLUMNJUSTIFY"
"COLUMNCONTROL"
"COLUMNDYNAMICBACKCOLOR"
"COLUMNDYNAMICFORECOLOR"
"COLUMNDYNAMICFONT"
"HEADERDYNAMICFONT"
"HEADERDYNAMICBACKCOLOR"
"HEADERDYNAMICFORECOLOR"
"COLUMNVALID"
"COLUMNWHEN"
"COLUMNONHEADCLICK"
"COLUMNDISPLAYPOSITION"
Re: HMG 3.4.3
Posted: Tue May 10, 2016 4:18 pm
by serge_girard
Claudio, Thank you so much!
Serge
Re: HMG 3.4.3
Posted: Wed May 11, 2016 1:20 am
by srvet_claudio
mol wrote:The same error caused by Dynamic Display solution is generated by samples: grid\grid_26, grid\grid_29, grid\grid_30.
Please, change line 3212 of file source\h_grid.prg:
Code: Select all
This.CellValue := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
for this:
Code: Select all
_HMG_SYSDATA [ 318 ] := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
and rebuild HMG library.
Re: HMG 3.4.3
Posted: Wed May 11, 2016 4:45 am
by andyglezl
Hola
Me sucede un detalle (que no pasa en la 3.4) y es que al mostrar la ventana de PRINT PREVIEW
y luego cerrarla, me borra el color fondo de la ventana anterior. (es una VIRTUAL WINDOW)
Alguna idea ?
mmm..... Viendolo por otro lado, es posible que el color de fondo de las ventanas sea transparente ??
------------------------------------------------------------------------------------------------------------------------------
Hello
It happens a detail (which does not happen in 3.4) is that the display window PRINT PREVIEW
and then close it, I deleted the color bottom of the previous window. (It is a VIRTUAL WINDOW)
Any ideas ?
mmm ..... seeing on the other hand, it is possible that the background color is transparent windows ??

- ErrorEnVirtualWindow.jpg (222.74 KiB) Viewed 8437 times
Re: HMG 3.4.3
Posted: Wed May 11, 2016 5:26 am
by mol
srvet_claudio wrote:mol wrote:The same error caused by Dynamic Display solution is generated by samples: grid\grid_26, grid\grid_29, grid\grid_30.
Please, change line 3212 of file source\h_grid.prg:
Code: Select all
This.CellValue := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
for this:
Code: Select all
_HMG_SYSDATA [ 318 ] := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
and rebuild HMG library.
H_GRID.PRG ends at the line #3054

Re: HMG 3.4.3
Posted: Wed May 11, 2016 6:35 am
by bpd2000
May be line # is 2843
Re: HMG 3.4.3
Posted: Thu May 12, 2016 1:16 am
by andyglezl
Hola
Estoy probando el ejemplo de SQLite y me da error al compilar...
-------------------------------------------------------------------------------
Hello
I'm testing the example of SQLite and gives me error when compiling ...

- SQLite.jpg (191.89 KiB) Viewed 8366 times
Encontré en la carpeta LIBS de la version 3.2 la libhmgsqlite.a y la copie a la carpeta de la
3.4.3 y ya funciona. ( pero no se si esta version la traía ó sea la correcta)
----------------------------------------------------------------------------------------------------------
I found in the folder LIBS version 3.2 the libhmgsqlite.a and copy the folder
3.4.3 and it works. (but not if this version brought it or it is correct)
Buscando en el foro, creo que la tome de aquí... ( no deberian venir por default en cada version ??? )
-------------------------------------------------------->>>
search.php?st=0&sk=t&sd=d&sr=posts&keyw ... D&start=50
I looking in the forum, I think the take from here ... (Should not come by default in each version ???)
Re: HMG 3.4.3
Posted: Thu May 12, 2016 1:29 am
by srvet_claudio
bpd2000 wrote:May be line # is 2843
Yes you you're right, I'm sorry,
it is the line 2843 of file h_grid.prg in the GetDataGridCellData function.
replace this line:
Code: Select all
This.CellValue := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
for this:
Code: Select all
_HMG_SYSDATA [ 318 ] := iif( lBufferedCell == .T., xBufferedCellValue, GetFiledData( index , This.QueryColIndex ) )
and rebuild the lib.
Re: HMG 3.4.3
Posted: Thu May 12, 2016 3:31 am
by Rathinagiri
andyglezl wrote:Hola
Estoy probando el ejemplo de SQLite y me da error al compilar...
-------------------------------------------------------------------------------
Hello
I'm testing the example of SQLite and gives me error when compiling ...
SQLite.jpg
Encontré en la carpeta LIBS de la version 3.2 la libhmgsqlite.a y la copie a la carpeta de la
3.4.3 y ya funciona. ( pero no se si esta version la traía ó sea la correcta)
----------------------------------------------------------------------------------------------------------
I found in the folder LIBS version 3.2 the libhmgsqlite.a and copy the folder
3.4.3 and it works. (but not if this version brought it or it is correct)
Buscando en el foro, creo que la tome de aquí... ( no deberian venir por default en cada version ??? )
-------------------------------------------------------->>>
search.php?st=0&sk=t&sd=d&sr=posts&keyw ... D&start=50
I looking in the forum, I think the take from here ... (Should not come by default in each version ???)
Thanks for reporting. I will give patch for HMGSQLite.
Re: HMG 3.4.3
Posted: Thu May 12, 2016 4:40 am
by GodkarPS
Really it is good, thank you very much to the HMG development team.
GodkarPS