Search code examples
visual-foxpro

TDI class error


For compatibility reasons I have to work on visual FoxPro. So I decided to freshen up the look of the old app using TDI class.

When I run the main prg from FoxPro IDE example works perfectly, when I build exe and check the option "Run after build" everything still works. But when I just launch exe the form starts opening, shows a window for a second and then closes.

How can I try to find the problem? Tried adding messageboxes, but after certain place in code I'm stuck.


Solution

  • It sounds like your code doesn't have READ EVENTS.