Page 93 of 106

Re: Welcome to the Project Developers' Table

Posted: Tue Nov 30, 2010 7:47 am
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.

Re: Welcome to the Project Developers' Table

Posted: Tue Nov 30, 2010 7:49 am
by Rathinagiri
Hi Carlos Britos, had you completed testing errorsys? IMHO, some of the errors are not reported!

Re: Welcome to the Project Developers' Table

Posted: Tue Nov 30, 2010 11:35 pm
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 ?

Re: Welcome to the Project Developers' Table

Posted: Wed Dec 01, 2010 1:46 am
by apais
's been very quiet here, huh ?

Re: Welcome to the Project Developers' Table

Posted: Wed Dec 01, 2010 5:08 pm
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 ????

Re: Welcome to the Project Developers' Table

Posted: Sun Dec 05, 2010 5:52 pm
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 :)

Re: Welcome to the Project Developers' Table

Posted: Tue Dec 21, 2010 6:32 am
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.

Re: Welcome to the Project Developers' Table

Posted: Tue Dec 21, 2010 6:34 am
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.

Re: Welcome to the Project Developers' Table

Posted: Tue Dec 21, 2010 11:29 pm
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


Re: Welcome to the Project Developers' Table

Posted: Wed Dec 22, 2010 2:04 am
by Rathinagiri
Ok. I will try today Carlos.