Re: HELP! - (WAIT NEVERMIND!)
Heh, good catch. [img]/ubbthreads/images/icons/smile.gif[/img]
Announcement
Collapse
No announcement yet.
HELP!
Collapse
X
-
HELP! - (WAIT NEVERMIND!)
Silly, Silly.....Me!
Can't put Application.Exit in the OnClose of PROJECT settings.
It will loop the OnClose over and over and over and over...
Brain Fart on my part!
Tom
Leave a comment:
-
HELP!
Morning all,
Hope someone can help me with this fun little problem I am having.
Here is the deal, what I have below is what is on my Project Setting-On Close.
IF (%Shutdown% = 1)
%PreventApplicationClose% = "False"
Application.Exit
ELSE
%Exit?% = Dialog.MessageBox ("Confirm", "Do you want to EXIT this progr...", Yes|No, Question)
END IF
IF (((%Exit?% = Yes)))
%PreventApplicationClose% = "False"
Application.Exit
END IF
IF (((%Exit?% = No)))
%PreventApplicationClose% = "True"
END IF
This works just fine when I preview but not on CD.
Can't seem to figure out why. The %Shutdown% is set to 0 at project start and set to 1 when a exit button is clicked on certian pages.
The %shutdown% part works ok, it's everything past ELSE that gives me the problem on CD.
When I press NO when dialog comes up on CD it stays on the current page, which I want.
When I press YES on the dialog, the dialog keeps comming up over and over. If I press YES a few times while repeating, then next time I press NO, the program closes!
This is driving me nuts! Again this works great on preview.
Thanks for continued help everyone!
TomTags: None
Leave a comment: