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.
HMG Events Monitor
Moderator: Rathinagiri
- srvet_claudio
- Posts: 2126
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Has thanked: 55 times
- Been thanked: 247 times
- Contact:
- srvet_claudio
- Posts: 2126
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Has thanked: 55 times
- Been thanked: 247 times
- Contact:
Rathi is preparing the release of HMG.3.1.4bpd2000 wrote:Thank you for sharing
Where to find HMG 3.1.4
- srvet_claudio
- Posts: 2126
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Has thanked: 55 times
- Been thanked: 247 times
- Contact:
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)bpd2000 wrote:We can create HMG Events Monitor log ?
along with Monitor window
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.
- bpd2000
- Posts: 1197
- Joined: Sat Sep 10, 2011 4:07 am
- Location: India
- Has thanked: 279 times
- Been thanked: 160 times
You are correctsrvet_claudio wrote: If it expands Event Monitor to display variables, control values, etc. becomes an aid to debug programs.
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- Rathinagiri
- Posts: 5351
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Has thanked: 212 times
- Been thanked: 232 times
- Contact:
Thanks Claudio.
Expect a bang in this weekend.
Expect a bang in this weekend.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- srvet_claudio
- Posts: 2126
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Has thanked: 55 times
- Been thanked: 247 times
- Contact:
Very nice, thanks Friend.Rathinagiri wrote:Thanks Claudio.
Expect a bang in this weekend.
- luisvasquezcl
- Posts: 1202
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Has thanked: 16 times
- Been thanked: 22 times
- Contact:
Estimado Claudio,
excelente aporte. como siempre sorprendiendonos.
Muchas gracias.
Luis Vasquez.
excelente aporte. como siempre sorprendiendonos.
Muchas gracias.
Luis Vasquez.