HMG 3.4.1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.1

Post by mol »

Many thanks, speedy Gonzales :-D
I'll test it.
Regards, Marek
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.1

Post 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
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.4.1

Post 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 6524 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

*****************************************************************************************************************************
Attachments
dbg_test.rar
(1.25 MiB) Downloaded 612 times
hmg.3.4.1_patch7.rar
(958 KiB) Downloaded 576 times
Last edited by srvet_claudio on Fri Sep 25, 2015 1:28 am, edited 1 time in total.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.4.1

Post 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
Viva INTERNATIONAL HMG :D
EduardoLuis
Posts: 682
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina

Re: HMG 3.4.1

Post 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.-
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: HMG 3.4.1

Post by dragancesu »

10+
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.4.1

Post by bpd2000 »

Thanks Mr. Claudio
Excellent, very useful extension
BPD
Convert Dream into Reality through HMG
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.4.1

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.4.1

Post by Rathinagiri »

Claudio can you explain in detail where to put the debugger exe file?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: HMG 3.4.1

Post by tonton2 »

a lot of ++
L'Algerie vous salut
Y.TABET
Post Reply