Page 2 of 2

Re: Grid events problem

Posted: Thu May 18, 2017 11:06 am
by serge_girard
Georg,

One way to debug is following code in main.prg (at the start)

Code: Select all

SET PRINTER TO "c:\test\asklad.txt"   // or default folder or wathever
SET PRINTER ON 
SET CONSOLE OFF
---

Function AktualneA()
? 'AktualneA ' + curdir()   // or something
? 'int_sta', int_sta
? 'rec_sta', rec_sta
etc.....
The compile and start running the program untill error occurs. Then check c:\test\asklad.txt to see where and what ...

Migrating from Clipper to HMG is sometimes very hard...

Serge