Page 1 of 1

HMG Events Monitor

Posted: Fri Jun 14, 2013 2:00 am
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.

Re: HMG Events Monitor

Posted: Fri Jun 14, 2013 3:20 am
by bpd2000
Thank you for sharing
Where to find HMG 3.1.4

Re: HMG Events Monitor

Posted: Fri Jun 14, 2013 3:38 am
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

Re: HMG Events Monitor

Posted: Fri Jun 14, 2013 1:44 pm
by bpd2000
We can create HMG Events Monitor log ?
along with Monitor window

Re: HMG Events Monitor

Posted: Fri Jun 14, 2013 3:42 pm
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.

Re: HMG Events Monitor

Posted: Sat Jun 15, 2013 3:26 am
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

Re: HMG Events Monitor

Posted: Sat Jun 15, 2013 4:52 am
by Rathinagiri
Thanks Claudio.

Expect a bang in this weekend.

Re: HMG Events Monitor

Posted: Sat Jun 15, 2013 10:07 pm
by srvet_claudio
Rathinagiri wrote:Thanks Claudio.

Expect a bang in this weekend.
Very nice, thanks Friend.

Re: HMG Events Monitor

Posted: Tue Jul 09, 2013 11:21 pm
by luisvasquezcl
Estimado Claudio,
excelente aporte. como siempre sorprendiendonos.
Muchas gracias.
Luis Vasquez.