Sudip, go to bed early in the night not early in the morning.
HMG 3.0 FORUM TEST XV
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG 3.0 FORUM TEST XV
Thanks a lot Roberto.
Sudip, go to bed early in the night not early in the morning.
Sudip, go to bed early in the night not early in the morning.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG 3.0 FORUM TEST XV
Thanks Friend Rathi 
Hello Master Roberto,
Today I recompiled h_grid.prg (after changing _HMG_INPLACEEDIT return codes and changing path in MAKEHMG.BAT to my hmg installation path, ie., C:\HMGG300).
But, I again I found problem with my existing project, which I sent to you. I assume may be I compiled the HMG source code wrongly.
Now, I am sending a small sample also:
Please select 2nd column and select a value from the comobox. Now go to another row. Then press enter or dbl-click on the 1st column.
Thanks in advance.
With best regards.
Sudip
Hello Master Roberto,
Today I recompiled h_grid.prg (after changing _HMG_INPLACEEDIT return codes and changing path in MAKEHMG.BAT to my hmg installation path, ie., C:\HMGG300).
But, I again I found problem with my existing project, which I sent to you. I assume may be I compiled the HMG source code wrongly.
Code: Select all
Date:13/01/2010 Time: 10:06:31
Error BASE/1066 Argument error: conditional
Called from _HMG_GRIDINPLACEKBDEDIT_2(1722)
Called from EVENTS(1735)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4560)
Called from DOMETHOD(7277)
Called from ATTEN(17)
Called from (b)MAIN(86)
Called from _DOCONTROLEVENTPROCEDURE(4872)
Called from EVENTS(1328)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4514)
Called from MAIN(108) Thanks in advance.
With best regards.
Sudip
With best regards,
Sudip
Sudip
Re: HMG 3.0 FORUM TEST XV
I've got an error while trying to refresh grid in my project:
Marek
ps.
to test it, I've modified hmg\samples\grid.02\demo.prg by adding menuitem "Grid Refresh" in main menu and error occurs, too:
Here is errorlog:
line 4159: in POTWIERDZPOZYCJEBUFORAAKORDU is calling grid.refresh methodDate:2010.01.13 Time: 08:13:58
Error BASE/1068 Incorrect argument: Incorrect number of arguments
Called from DATAGRIDREFRESH(2083)
Called from _REFRESH(3639)
Called from DOMETHOD(7357)
Called from POTWIERDZPOZYCJEBUFORAAKORDU(4159)
Marek
ps.
to test it, I've modified hmg\samples\grid.02\demo.prg by adding menuitem "Grid Refresh" in main menu and error occurs, too:
Code: Select all
/*
* MiniGUI Virtual Grid Demo
* (c) 2003 Roberto Lopez
*/
#include "minigui.ch"
* When using virtual Grids you must avoid to use Item property and additem
* method. It can generate unexpected results.
Function Main
DEFINE WINDOW Form_1 ;
AT 0,0 ;
WIDTH 450 ;
HEIGHT 400 ;
TITLE 'Hello World!' ;
MAIN
DEFINE MAIN MENU
DEFINE POPUP 'File'
MENUITEM 'Change ItemCount' ACTION Form_1.Grid_1.ItemCount := Val(InputBox('New Value','Change ItemCount'))
MENUITEM 'Refresh grid' ACTION Form_1.Grid_1.Refresh
END POPUP
END MENU
@ 10,10 GRID Grid_1 ;
WIDTH 400 ;
HEIGHT 330 ;
HEADERS {'Column 1','Column 2','Column 3'} ;
WIDTHS {140,140,140};
VIRTUAL ;
ITEMCOUNT 100000000 ;
ON QUERYDATA QueryTest()
END WINDOW
CENTER WINDOW Form_1
ACTIVATE WINDOW Form_1
Return
Procedure QueryTest()
This.QueryData := Str ( This.QueryRowIndex ) + ',' + Str ( This.QueryColIndex )
Return
Harbour MiniGui Errorlog File
------------------------------------
Date:01/13/10 Time: 08:19:58
Error BASE/1068 Argument error: array access
Called from DATAGRIDREFRESH(2083)
Called from _REFRESH(3639)
Called from DOMETHOD(7357)
Called from (b)MAIN(23)
Called from _DOCONTROLEVENTPROCEDURE(4872)
Called from EVENTS(1328)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4514)
Called from MAIN(40)
Re: HMG 3.0 FORUM TEST XV
I've compiled this sample by hmg test XIV - error occurs, too
Version XIII - everything looks OK.
Marek
Version XIII - everything looks OK.
Marek
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG 3.0 FORUM TEST XV
Hi,
I have a peculiar error.
While using HMG IDE, if our source code contains an array variable named "lines" and if you assign some value to the array, it gives compilation error, "E0022 Invalid lvalue String"
Add these lines in any of your code and try to compile.
I have a peculiar error.
While using HMG IDE, if our source code contains an array variable named "lines" and if you assign some value to the array, it gives compilation error, "E0022 Invalid lvalue String"
Add these lines in any of your code and try to compile.
Code: Select all
local lines := {}
aadd(lines,1)
lines[1] := 5
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 3.0 FORUM TEST XV
Hi Rathi
AFAIK "LINES" is a reserved word for Browse and Grid.
So, you don't have use it as an identifier, IMHO.
Regards
--
Esgici
AFAIK "LINES" is a reserved word for Browse and Grid.
So, you don't have use it as an identifier, IMHO.
Regards
--
Esgici
Viva INTERNATIONAL HMG 
- Rathinagiri
- Posts: 5481
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG 3.0 FORUM TEST XV
Thanks for the explanation Esgici.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0 FORUM TEST XV
Ok.sudip wrote: Today I recompiled h_grid.prg (after changing _HMG_INPLACEEDIT return codes and changing path in MAKEHMG.BAT to my hmg installation path, ie., C:\HMGG300).
But, I again I found problem with my existing project, which I sent to you. I assume may be I compiled the HMG source code wrongly.![]()
I'll check it ASAP.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0 FORUM TEST XV
Thanks for the report Marek.mol wrote:I've got an error while trying to refresh grid in my project:
I'm working on it.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4023
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 3.0 FORUM TEST XV
rathinagiri wrote:Hi,
I have a peculiar error.
While using HMG IDE, if our source code contains an array variable named "lines" and if you assign some value to the array, it gives compilation error, "E0022 Invalid lvalue String"
Add these lines in any of your code and try to compile.
Code: Select all
local lines := {} aadd(lines,1) lines[1] := 5
In 'i_graph.ch' we have the following definition:
Code: Select all
#define LINES 2Maybe we should change the DRAW GRAPH definition to 'hardcoded' graph type into command itself, since 'bars', 'lines' and 'points' are could be used as variable names by anyone.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)