right now, I am trying to improve some very old clipper-code. The program runs as a console-Application and I plan to rewrite it into using HMG step by step. I am very excited, about all the new possibilities we have with hmg!
Now to my problem: From within my old console-application, I can launch a window, but when it is released, the program does not continue.
Here is a sample to demonstrate:
Code: Select all
#include <minigui.ch>
procedure main
? "Hello world"
gui_function()
? "Welcome back!"
wait(10)
return
function gui_function()
Load Window window1 as main
Main.Center
main.activate
return
Code: Select all
? "Welcome back!"
What am I doing wrong?
Thanks for helping an eager hmg newbee.
Jan