Windows does not stay active and ontop

RobVanBrunschot

Member
Licensed User
Longtime User
Hello,

My application starts, updates location (via gps or cellid), timezone and weather for the current location, than shuts down again after a reschedule in 60 minutes. That all without a window (form) because it writes values to the registry.

Now I want to make a config window which should start with the argument config given to the program.

But what happens is, the form shows and than dissapeares and the program runs further.

How can I display the config form and wait for the user to change something and only runs further when the user clicks the Ok button.

Any suggestions ?

Thanks in advance.
regards, Rob
 

RobVanBrunschot

Member
Licensed User
Longtime User
Agraham,

thanks for your response.

I think i have it figured out.
At first my application was created without a form to show, but when I added the form and were showing him during the code, the rest of the code was executed after the form was shown.

I changed my program in showing the form at the end of the appStart (via a GOTO) routine, thereby skipping the rest of the code.
Now it works ok.

regards, Rob
 
Top