HMG Events Monitor

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
User avatar
srvet_claudio
Posts: 1911
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 25 times
Been thanked: 92 times
Contact:

HMG Events Monitor

Post by srvet_claudio » Fri Jun 14, 2013 2:00 am

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 267 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
bpd2000
Posts: 908
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 79 times
Been thanked: 14 times

Post by bpd2000 » Fri Jun 14, 2013 3:20 am

Thank you for sharing
Where to find HMG 3.1.4
BPD
HMG Convert Dream into Reality

User avatar
srvet_claudio
Posts: 1911
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 25 times
Been thanked: 92 times
Contact:

Post by srvet_claudio » Fri Jun 14, 2013 3:38 am

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: 908
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 79 times
Been thanked: 14 times

Post by bpd2000 » Fri Jun 14, 2013 1:44 pm

We can create HMG Events Monitor log ?
along with Monitor window
BPD
HMG Convert Dream into Reality

User avatar
srvet_claudio
Posts: 1911
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 25 times
Been thanked: 92 times
Contact:

Post by srvet_claudio » Fri Jun 14, 2013 3:42 pm

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: 908
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 79 times
Been thanked: 14 times

Post by bpd2000 » Sat Jun 15, 2013 3:26 am

srvet_claudio wrote: If it expands Event Monitor to display variables, control values​, ​etc. becomes an aid to debug programs.
You are correct
BPD
HMG Convert Dream into Reality

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

Post by Rathinagiri » Sat Jun 15, 2013 4:52 am

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

Post by srvet_claudio » Sat Jun 15, 2013 10:07 pm

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: 988
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 3 times
Been thanked: 9 times
Contact:

Post by luisvasquezcl » Tue Jul 09, 2013 11:21 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests