Welcome to the Project Developers' Table

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5482
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 »

Code: Select all

2010-11-30 13:15 UTC+0530 Rathinagiri ( <srgiri@dataone.in> )
  * source/control.prg
  * source/window.prg
  * include/hmg.ch
  * samples/window.main/demo_3.prg
    + Implemented ThisWindow, This object.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5482
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 »

Hi Carlos Britos, had you completed testing errorsys? IMHO, some of the errors are not reported!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Carlos Britos
Posts: 245
Joined: Sat Aug 02, 2008 5:03 pm

Re: Welcome to the Project Developers' Table

Post by Carlos Britos »

rathinagiri wrote:Hi Carlos Britos, had you completed testing errorsys? IMHO, some of the errors are not reported!
Hi Rathinagiri
Do you have a small sample to test errors not reported. The code of error report is the used in harbour.
I'll continue testing.
Dbf in use ?
Regards/Saludos, Carlos (bcd12a)
User avatar
apais
Posts: 441
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF, Leto, MariaDB, SQLite
Location: uruguay
Contact:

Re: Welcome to the Project Developers' Table

Post by apais »

's been very quiet here, huh ?
Angel Pais
Web Apps consultant/architect/developer.
mrduck
Posts: 497
Joined: Fri Sep 10, 2010 5:22 pm

Re: Welcome to the Project Developers' Table

Post by mrduck »

There are some problems in BROWSE...

does anybody uses it ?

::onQueryData uses ::setRecordPos to get info from the DBF, changes the record pointer and does not restore it.

The record pointer after ::onQueryData is impossible to predict since it depends on how many times and which parameters are passed...

and I can't understand the working of ::setRecordPos... what is it doing ????
User avatar
sudip
Posts: 1456
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Welcome to the Project Developers' Table

Post by sudip »

Hello All,

I am back :)

Many things have been added to HMG 4 :D
The first thing which I want to do is to create a simple project with HMG 4. This was my first hmg project, which I created about 20 months back. It was a simple one to may form for bill entry.

I found problems in following areas:

1. Is ON KEY command implemented?
2. Got compilation error in following code

Code: Select all

form_1:grdSaledtl:item( i ) := aTemp
Here, grdSaledtl is a grid and aItem is an array.
3. For BROWSE @ command is not supported.
4. Some SET commants are not implemented.

Code: Select all

   SET BROWSESYNC ON
   SET NAVIGATION EXTENDED
   SET INTERACTIVECLOSE QUERY MAIN
   set font to "Arial", 09
Thanks in advance :)
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5482
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 »

sudip wrote:Hello All,

I am back :)

Many things have been added to HMG 4 :D
The first thing which I want to do is to create a simple project with HMG 4. This was my first hmg project, which I created about 20 months back. It was a simple one to may form for bill entry.

I found problems in following areas:

1. Is ON KEY command implemented?
2. Got compilation error in following code

Code: Select all

form_1:grdSaledtl:item( i ) := aTemp
Here, grdSaledtl is a grid and aItem is an array.
3. For BROWSE @ command is not supported.
4. Some SET commants are not implemented.

Code: Select all

   SET BROWSESYNC ON
   SET NAVIGATION EXTENDED
   SET INTERACTIVECLOSE QUERY MAIN
   set font to "Arial", 09
Thanks in advance :)
1. Yes, ON KEY is implemented. Do you get any problems?

2. Yes. As of now, we didn't implement a property having a parameter.

For example, Form_1.Control_1.property := xValue is implemented. However, Form_1.Control_1.property (xValue1) := xValue2 is not implemented. However you can use Form_1.Control_1.property (xValue1, xValue2)

3. Might be hmg.ch problem. Let me see it.

4. Yes. These are to be implemented.

Thanks for your interest Sudip.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5482
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 »

Carlos Britos wrote:
rathinagiri wrote:Hi Carlos Britos, had you completed testing errorsys? IMHO, some of the errors are not reported!
Hi Rathinagiri
Do you have a small sample to test errors not reported. The code of error report is the used in harbour.
I'll continue testing.
Dbf in use ?
Ok. I will try. I have created a new control for virtual grid and nothing comes out. Even the main window/error report. I think Francesco have disabled the errorsys.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Carlos Britos
Posts: 245
Joined: Sat Aug 02, 2008 5:03 pm

Re: Welcome to the Project Developers' Table

Post by Carlos Britos »

rathinagiri wrote:Ok. I will try. I have created a new control for virtual grid and nothing comes out. Even the main window/error report. I think Francesco have disabled the errorsys.
Hi Rathinagiri
If you are so kindly to make a test it will be great to know what happening.
I'm not a hbmk2 user so I'm guessing. I think the module errorsys is compiled ok but not linked to the lib.
Please
1- in hmg.hbp restore the line source/errorsys
2- in misc.prg insert command REQUEST errorsys at the beginning
3- recompile all source of the lib. I don't know how to do this with hbmk2.

test label/demo4
you'll see something like this

Code: Select all

Error HBQT/1001  Argument error
---- Called from ----
  __HBQT_ERROR----------------------------  (0)
  QFONT:SETFAMILY------------------------- TQFont.prg (0)
  LABEL:_AUTOSIZE------------------------- label.prg (90)
  MAIN------------------------------------ demo_4.prg (31)


----- Error -----
  Date Time.......: 20101209 18:45:03
  Subsystem Call .: HBQT
  System Code ....: 1001
  Description ....: Argument error
  GenCode ........: 1: EG_ARG
  Arguments ......:
  DOS Error Code .: 0

----- File ------
  Name............: c:\hmg.4\bcd\demo.Exe
  Size............:  5,145,479
  Date Time.......: 20101209 18:45:01
  Md5.............: 167985ee96c5be95460830e5691d54dc
  Parameters .....: 0

---- Version ----
  Hmg Lib ........: HMG 4.0.0 2010.11.03 (Rev. 509)
  ChangeLog ID ...: Changelog 509 2010-12-07 22:40:24Z fperillo
  Harbour ........: Harbour 2.1.0beta2 (Rev. 15729)
  C/C++ compiler..: MinGW GNU C 4.5 (32-bit)
  QT Lib .........: QT 4.7.0 dynamic
  Operating System: Windows XP 5.1.2600 Service Pack 3

----- Dbfs ------0

Regards/Saludos, Carlos (bcd12a)
User avatar
Rathinagiri
Posts: 5482
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 »

Ok. I will try today Carlos.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Post Reply