Re: Progress Bar dialog


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on May 04, 2007 at 08:25:30:

In Reply to: Re: Progress Bar dialog posted by Brian Levantine on May 03, 2007 at 20:11:07:

Brian:

COS.CloseDll solved the open DLL problem. Thanks.

I'm closing with ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
EventSub
Gosub COS.CloseDll
Gosub COS.DestroyDialog

!!!!! gosub CW.CloseAutoModeDialog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Doesn't seem to make any difference whether I "destroy" or "CloseAuto".

However another minor issue. When I return to my menu (QCRT) the cursor is positioned in the top left corner instead of at the INPUT. The last command in the menu program before the INPUT is ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MOUSEPROMPT: FORMAT_
(CHANGE COLOR = '@B0@');_
@(24,22);'ENTER DESIRED SELECTION:';_
(TP);(SF);(MC);'',8;(TP);(RC)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Seems like I'm missing another piece of proper close out logic.

Another line of thought. The program has a Cancel button which causes the program to exit through the EventHadler. That methodology results in a nice clean close of the program. No open Dll, no misplaced cursor.

Is there a way to generate a Cancel event to make the program exit via EventHandler?


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]