HMG 3.4.3

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
mol
Posts: 3396
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 267 times
Been thanked: 170 times
Contact:

Re: HMG 3.4.3

Post by mol »

I got first error while testing new version:

Code: Select all

Date:16.05.09 Time: 09:29:39
Error: HMG 3.4.3 Stable (32 bits)
Control: c Of _HMG_GRID_InplaceEdit Not defined. Program Terminated
Called from SETPROPERTY(7914) 
Called from _HMG_SETGRIDCELLEDITVALUE(1659) 
Called from GETDATAGRIDCELLDATA(2843) 
Called from EVENTS(3021) 
Called from DOEVENTS(0) 
Called from _SHOWWINDOW(3964) 
Called from _ACTIVATEWINDOW(5640) 
Called from ODBIORTOWAROWZKASY(1751) 
Called from (b)ZDEFINIUJMENUGLOWNE(2118) 
Called from _DOCONTROLEVENTPROCEDURE(6006) 
Called from EVENTS(1717) 
Called from DOMESSAGELOOP(0) 
Called from _ACTIVATEWINDOW(5669) 
Called from MAIN(595) 
Everything was good with hmg 3.4.1 and hmg 3.4.2 sp4

Form was defined with IDE, grid control definition code:

Code: Select all

 DEFINE GRID G_Kasy
        ROW    40
        COL    10
        WIDTH  310
        HEIGHT 120
        ITEMS { {""} }
        VALUE Nil
        WIDTHS aWidthsKasy
        HEADERS aHeadersKasy
        FONTNAME "Arial"
        FONTSIZE 9
        TOOLTIP ""
        ONCHANGE OknoOdbiorTowarow_ZmienWyborKasy()
        ONGOTFOCUS Nil
        ONLOSTFOCUS Nil
        FONTBOLD .F.
        FONTITALIC .F.
        FONTUNDERLINE .F.
        FONTSTRIKEOUT .F.
        ONDBLCLICK ZmienZaznaczenieKasy()
        ONHEADCLICK Nil
        ONQUERYDATA Nil
        MULTISELECT .F.
        ALLOWEDIT .F.
        VIRTUAL .F.
        DYNAMICBACKCOLOR Nil
        DYNAMICFORECOLOR Nil
        COLUMNWHEN aWhenKasy
        COLUMNVALID Nil
        COLUMNCONTROLS aControlsKasy
        SHOWHEADERS .T.
        CELLNAVIGATION .T.
        NOLINES .F.
        HELPID Nil
        IMAGE Nil
        JUSTIFY Nil
        ITEMCOUNT Nil
        BACKCOLOR NIL
        FONTCOLOR NIL
        HEADERIMAGES Nil
        ROWSOURCE "kasy"
        COLUMNFIELDS aFieldsKasy
        ALLOWAPPEND .F.
        ALLOWDELETE .F.
        BUFFERED .F.
        DYNAMICDISPLAY aDynDisplayKasy
        ONSAVE Nil
        LOCKCOLUMNS 2
    END GRID
COLUMNCONTROLS aControlKasy:

Code: Select all

aControlsKasy	:= {{ "CHECKBOX" , "Tak" , "Nie" } ,;
				{  "TEXTBOX" , "CHARACTER"} ,;
				{ "TEXTBOX" , "CHARACTER"},;
				{ "CHECKBOX" , "Tak" , "Nie" } ,;
				{ "TEXTBOX","NUMERIC", "99"} ,;
				{ "TEXTBOX","NUMERIC", "999 999"} }

User avatar
serge_girard
Posts: 2561
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 851 times
Been thanked: 160 times
Contact:

Post by serge_girard »

Me too, I got an error about :

GRID_SetColumnControl

But the same error comes also with version 3.4.2.

Serge

User avatar
mol
Posts: 3396
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 267 times
Been thanked: 170 times
Contact:

Post by mol »

I've modified h_grid.prg line 1659 by adding IF statement:

Code: Select all

	If _IsControlDefined ( 'c' , "_HMG_GRID_InplaceEdit")
			SetProperty ( "_HMG_GRID_InplaceEdit" , "c" , "value" , arg )
		endif
But, now, I get another error caused by Dynamic Display use:

Code: Select all

Date:16.05.09 Time: 09:50:35
Error BASE/1066 Illegal argument: logical type required.
Called from OBSLBLEDU(1182) 
Called from (b)MAIN(585) 
Called from (b)ODBIORTOWAROWZKASY(1701) 
Called from GETDATAGRIDCELLDATA(2844) 
Called from EVENTS(3021) 
Called from DOEVENTS(0) 
Called from _SHOWWINDOW(3964) 
Called from _ACTIVATEWINDOW(5640) 
Called from ODBIORTOWAROWZKASY(1751) 
Called from (b)ZDEFINIUJMENUGLOWNE(2118) 
Called from _DOCONTROLEVENTPROCEDURE(6006) 
Called from EVENTS(1717) 
Called from DOMESSAGELOOP(0) 
Called from _ACTIVATEWINDOW(5669) 
Called from MAIN(595) 
Dynamic Display array used in this grid:

Code: Select all

aDynDisplayKasy := {	{ || if(This.CellValue, "TAK","NIE")},;
							{ || this.CellValue},;
							{ || this.CellValue},;
							{ || if(This.CellValue, "TAK","NIE")},;
							{ || str(this.CellValue)},;
							{ || str(this.CellValue)} ;
						}
aWhenKasy := { { || .t.}, {|| .f.}, {||.f.}, {||.f.} , {||.f.} , {||.f.} }

User avatar
srvet_claudio
Posts: 2100
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 47 times
Been thanked: 209 times
Contact:

Post by srvet_claudio »

I will check!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

EduardoLuis
Posts: 665
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Has thanked: 1 time
Been thanked: 62 times

Post by EduardoLuis »

Hi Claudio and Team:

Thanks for your effort and for share with all of us.-
Begining tests.-
With regards.
Eduardo

User avatar
andyglezl
Posts: 1251
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 39 times
Been thanked: 107 times
Contact:

Post by andyglezl »

Gracias una vez más Dr. Claudio, lo probaremos.
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
danielmaximiliano
Posts: 2350
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 414 times
Been thanked: 80 times
Contact:

Post by danielmaximiliano »

Gracias Claudio y Rathi por el esfuerzo que tienen para con HMG...


Thanks for your effort and for share with all of us.-
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO

User avatar
srvet_claudio
Posts: 2100
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 47 times
Been thanked: 209 times
Contact:

Post by srvet_claudio »

mol wrote:I got first error while testing new version:

Code: Select all

Date:16.05.09 Time: 09:29:39
Error: HMG 3.4.3 Stable (32 bits)
Control: c Of _HMG_GRID_InplaceEdit Not defined. Program Terminated
Called from SETPROPERTY(7914) 
Called from _HMG_SETGRIDCELLEDITVALUE(1659) 
Called from GETDATAGRIDCELLDATA(2843) 
Called from EVENTS(3021) 
Called from DOEVENTS(0) 
Called from _SHOWWINDOW(3964) 
Called from _ACTIVATEWINDOW(5640) 
Called from ODBIORTOWAROWZKASY(1751) 
Called from (b)ZDEFINIUJMENUGLOWNE(2118) 
Called from _DOCONTROLEVENTPROCEDURE(6006) 
Called from EVENTS(1717) 
Called from DOMESSAGELOOP(0) 
Called from _ACTIVATEWINDOW(5669) 
Called from MAIN(595) 
Everything was good with hmg 3.4.1 and hmg 3.4.2 sp4

Form was defined with IDE, grid control definition code:

Code: Select all

 DEFINE GRID G_Kasy
        ROW    40
        COL    10
        WIDTH  310
        HEIGHT 120
        ITEMS { {""} }
        VALUE Nil
        WIDTHS aWidthsKasy
        HEADERS aHeadersKasy
        FONTNAME "Arial"
        FONTSIZE 9
        TOOLTIP ""
        ONCHANGE OknoOdbiorTowarow_ZmienWyborKasy()
        ONGOTFOCUS Nil
        ONLOSTFOCUS Nil
        FONTBOLD .F.
        FONTITALIC .F.
        FONTUNDERLINE .F.
        FONTSTRIKEOUT .F.
        ONDBLCLICK ZmienZaznaczenieKasy()
        ONHEADCLICK Nil
        ONQUERYDATA Nil
        MULTISELECT .F.
        ALLOWEDIT .F.
        VIRTUAL .F.
        DYNAMICBACKCOLOR Nil
        DYNAMICFORECOLOR Nil
        COLUMNWHEN aWhenKasy
        COLUMNVALID Nil
        COLUMNCONTROLS aControlsKasy
        SHOWHEADERS .T.
        CELLNAVIGATION .T.
        NOLINES .F.
        HELPID Nil
        IMAGE Nil
        JUSTIFY Nil
        ITEMCOUNT Nil
        BACKCOLOR NIL
        FONTCOLOR NIL
        HEADERIMAGES Nil
        ROWSOURCE "kasy"
        COLUMNFIELDS aFieldsKasy
        ALLOWAPPEND .F.
        ALLOWDELETE .F.
        BUFFERED .F.
        DYNAMICDISPLAY aDynDisplayKasy
        ONSAVE Nil
        LOCKCOLUMNS 2
    END GRID
COLUMNCONTROLS aControlKasy:

Code: Select all

aControlsKasy	:= {{ "CHECKBOX" , "Tak" , "Nie" } ,;
				{  "TEXTBOX" , "CHARACTER"} ,;
				{ "TEXTBOX" , "CHARACTER"},;
				{ "CHECKBOX" , "Tak" , "Nie" } ,;
				{ "TEXTBOX","NUMERIC", "99"} ,;
				{ "TEXTBOX","NUMERIC", "999 999"} }
Marek,
Please show me your code in the line:

ZDEFINIUJMENUGLOWNE(2118)

and the function:

ODBIORTOWAROWZKASY
Last edited by srvet_claudio on Mon May 09, 2016 3:04 pm, edited 1 time in total.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

ecabrerizo
Posts: 30
Joined: Mon Mar 26, 2012 10:33 am
Location: España

Post by ecabrerizo »

Thanks to all !!!
Great Job !!!

User avatar
srvet_claudio
Posts: 2100
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 47 times
Been thanked: 209 times
Contact:

Post by srvet_claudio »

serge_girard wrote:Me too, I got an error about :

GRID_SetColumnControl

But the same error comes also with version 3.4.2.

Serge
Serge,

Please post a small sample with the problem that you found.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

Post Reply