Page 19 of 20

Re: HMG 3.4.1

Posted: Tue Sep 08, 2015 7:10 pm
by mol
Many thanks, speedy Gonzales :-D
I'll test it.
Regards, Marek

Re: HMG 3.4.1

Posted: Wed Sep 09, 2015 5:55 am
by mol
Hi!
I found a difficulty. I have a GRID control when user enters some tax values. When he enters net value, my app computes tax value and puts it into next column. This computing is realised via function called by ColumnValid. Under soe circumstances, I need to divide by 2 entered net value and put this computed value to current cell.
But, such a construction

Code: Select all

nRow := FormName.GridName.CellRowFocused
nCol := FormName.GridName.CellColFocused
nEnteredValue := This.Value
nValue50 := nEnteredValue/2
SetProperty("FormName",""GridName",nRow,nCol,"Value", nValue50)
does not work, because GRID enters new value to cell after my validation function call.

Is it the way to change this buffered data?

edit: after searching sources, I found such a solution:

Code: Select all

SetProperty("_hmg_grid_inplaceedit","T","VALUE", nValue50 )
Does anybody know more elegant solution?
Regards, Marek

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 9:55 am
by srvet_claudio
Hi All,
please test this patch, now HMG contain a native true GUI DEBUGGER.
The difference with others debuggers is that HMG Debugger overlaps the windows message loop and does not stop or crash the system when a windows is activated.
HMG_Debugger.PNG
HMG_Debugger.PNG (89.81 KiB) Viewed 7243 times
Compile with:
- build.bat /d app.hbp
or
- build.bat -b app.hbp
Brief Description (I will prepare an adecuate documentation):
-------------------------------------------------------------

Toggle Breakpoint:
- Sets or removes a Breakpoint at the code line the current cursor position.
- When found a Breakpoint stop the execution of the program.

Tracepoint:
- stop the execution of the program when a variable or expresion changes value
- e.g. sets Tracepoint, TP var == 3, TP Eof(), etc.

Watchpoint:
- Allows monitoring the value of a variable or expression
- e.g. sets Watchpoint, WP var, WP Recno(), WP var > 12, etc.

Run Mode:
- Animate: runs line by line automatically with a delay that is specified in the setting tab
- Go: is very fast, runs the application in the same manner as it would in Animate mode with the difference that not send info to debugger until one finds a Breakpoint or Tracepoint
- ToCursor: runs application in the same manner as Go mode but until the code line the current cursor position
- NextRoutine: runs application in the same manner as Go mode but until start the next Function/Procedure
- Step: runs line by line manually
- Trace: runs the application in the same manner as it would in Step mode with the difference that Trace mode does not display the code for functions and procedures called by the current program nor does it trace codeblocks back to their definition

*****************************************************************************************************************************
For users of other GUI libraries, they can download the latest version and documentation of HMG Debugger from here:

claudio/HMG_Debugger.rar

*****************************************************************************************************************************

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 12:04 pm
by esgici
srvet_claudio wrote:...
please test this patch, now HMG contain a native true GUI DEBUGGER.
The difference with others debuggers is that HMG Debugger overlaps the windows message loop and does not stop or crash the system.
...
Another milestone in HMG History;

thank a lot Hidalgo :arrow:

Viva HMG :D

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 12:51 pm
by EduardoLuis
Hi Claudio:

Woh, Woh, Woh.........
I've download an today i'll begin with test.-
In advance, what a great job.
Thanks for all your effort.-
With regards
Eduardo.-

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 12:59 pm
by dragancesu
10+

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 1:36 pm
by bpd2000
Thanks Mr. Claudio
Excellent, very useful extension

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 1:41 pm
by Rathinagiri
Dear Claudio,

Personally I won't thank you because I can't! The contribution you have made can not be described by any words!

IMHO, with such a versatile Debugger, HMG completes a FULL circle of software development environment.

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 3:06 pm
by Rathinagiri
Claudio can you explain in detail where to put the debugger exe file?

Re: HMG 3.4.1

Posted: Fri Sep 11, 2015 9:05 pm
by tonton2
a lot of ++