HMG 3.4.1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
mol
Posts: 2739
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 91 times
Been thanked: 30 times
Contact:

Re: HMG 3.4.1

Post by mol » Tue Sep 08, 2015 7:10 pm

Many thanks, speedy Gonzales :-D
I'll test it.
Regards, Marek

User avatar
mol
Posts: 2739
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 91 times
Been thanked: 30 times
Contact:

Post by mol » Wed Sep 09, 2015 5:55 am

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: 1919
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 25 times
Been thanked: 95 times
Contact:

Post by srvet_claudio » Fri Sep 11, 2015 9:55 am

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 1050 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 303 times
hmg.3.4.1_patch7.rar
(958 KiB) Downloaded 280 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: 4279
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 155 times
Been thanked: 61 times
Contact:

Post by esgici » Fri Sep 11, 2015 12:04 pm

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: 484
Joined: Tue Jun 04, 2013 6:33 pm
Location: Argentina
Been thanked: 20 times

Post by EduardoLuis » Fri Sep 11, 2015 12:51 pm

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: 408
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 2 times
Been thanked: 22 times

Post by dragancesu » Fri Sep 11, 2015 12:59 pm

10+

User avatar
bpd2000
Posts: 922
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 89 times
Been thanked: 24 times

Post by bpd2000 » Fri Sep 11, 2015 1:36 pm

Thanks Mr. Claudio
Excellent, very useful extension
BPD
HMG Convert Dream into Reality

User avatar
Rathinagiri
Posts: 5095
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 93 times
Been thanked: 106 times
Contact:

Post by Rathinagiri » Fri Sep 11, 2015 1:41 pm

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: 5095
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 93 times
Been thanked: 106 times
Contact:

Post by Rathinagiri » Fri Sep 11, 2015 3:06 pm

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: 240
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Has thanked: 3 times
Been thanked: 2 times
Contact:

Post by tonton2 » Fri Sep 11, 2015 9:05 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests