Procedure editor pops up on close

Posted by ojfoggin on 25-Sep-2009 10:10

Hi guys,

We have a little "fixit" program that we use to fix a few spurious stock levels etc...

It is connected directly to the database.

I am currently trying to up date it a bit.  However, something that has always happened is that when the window is closed an empty, untitled procedure editor pops up that you then have to close.

Can anyone think why this would happen and how to fix it?

Thanks for any help.

Progress 10.1B

Windows XP

All Replies

Posted by Admin on 25-Sep-2009 10:12

Start prowin32.exe with -rr ?

Posted by ChUIMonster on 25-Sep-2009 10:15

What do you want to have happen?

I find the following snippet a useful way to terminate  programs that might be run either from a menu, from the editor or via -p:

     if program-name(2) = ? then quit. else return.

Posted by ojfoggin on 25-Sep-2009 10:18

Thanks both!

I tried the -rr parameter but it popped up a licensing issue.

The program-name(2) code works perfectly though!

Thanks!

Posted by Admin on 25-Sep-2009 10:20

ojfoggin schrieb:

Thanks both!

I tried the -rr parameter but it popped up a licensing issue.

The program-name(2) code works perfectly though!

Thanks!

So I guess your code was not compiled, right?

In that case the QUIT code from Tom should be preferable.

Posted by ojfoggin on 25-Sep-2009 10:35

Hi Mike,

No the code wasn't compiled.

However, for the people who need to use it it will need to be so it looks like the -rr might work also!

Thanks again

Oliver

This thread is closed