HMG Events Monitor

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

HMG Events Monitor

Post by srvet_claudio »

This is a very basic example of event monitoring.
A more complete event monitor requires the addition of functions and some public variables to the source code of HMG to achieve a greater quantity and quality of information obtained.

PS: Please test the example with EXE file because this program requires HMG.3.1.4 or later.
Attachments
HMG_EVENT_MONITOR.rar
(792.62 KiB) Downloaded 643 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG Events Monitor

Post by bpd2000 »

Thank you for sharing
Where to find HMG 3.1.4
BPD
Convert Dream into Reality through HMG
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG Events Monitor

Post by srvet_claudio »

bpd2000 wrote:Thank you for sharing
Where to find HMG 3.1.4
Rathi is preparing the release of HMG.3.1.4
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG Events Monitor

Post by bpd2000 »

We can create HMG Events Monitor log ?
along with Monitor window
BPD
Convert Dream into Reality through HMG
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG Events Monitor

Post by srvet_claudio »

bpd2000 wrote:We can create HMG Events Monitor log ?
along with Monitor window
Yes, you just have to save (eg. with MEMOWRIT) the content of the text variables T1, T2 and T3 (in HMG_ShowEventMonitor() function --> Demo_Monitor.prg)

T1 = Last Active Form Name
T2 = Last Active Control Name
T3 = Called from: function name (line number) (file name)

If it expands Event Monitor to display variables, control values​, ​etc. becomes an aid to debug programs.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG Events Monitor

Post by bpd2000 »

srvet_claudio wrote: If it expands Event Monitor to display variables, control values​, ​etc. becomes an aid to debug programs.
You are correct
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 Events Monitor

Post by Rathinagiri »

Thanks Claudio.

Expect a bang in this weekend.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG Events Monitor

Post by srvet_claudio »

Rathinagiri wrote:Thanks Claudio.

Expect a bang in this weekend.
Very nice, thanks Friend.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: HMG Events Monitor

Post by luisvasquezcl »

Estimado Claudio,
excelente aporte. como siempre sorprendiendonos.
Muchas gracias.
Luis Vasquez.
Post Reply