Indigo Rose Software
  #1  
Old 10-02-2000
JMS3 JMS3 is offline
Forum Member
 
Join Date: May 2000
Location: Rochester, NY, USA
Posts: 6
Yes/No Dialogue Box

I am confused over the Yes/No dialogue box and its conditions.

I want to display a simple mouse over on an exit button to ask user "Are you Sure You Want To Quit"

If yes, exit. If no stay on page.

Don't seem to undersatnd what program is looking for in conditions.

  #2  
Old 10-02-2000
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
Re: Yes/No Dialogue Box

Hi,
Basically what the YES/NO dialog does is set a variable, %MyVar% by default, to either "YES" or "NO" (no quotes). So have a YES/NO dialog box action, and then a CLOSE/EXIT action with a Boolean condition: "%MyVar% (or whatever you choose to name your variable) = YES”. So what you are doing is using the YES/NO dialog to set a variable and then performing actions after that based on the value of that variable.

mark.
__________________
MSI Factory The Next Generation Intelligent Setup Builder
  #3  
Old 07-30-2001
Brumbino Brumbino is offline
Forum Member
 
Join Date: Jul 2001
Location: UK
Posts: 4
Re: Yes/No Dialogue Box

Heyulp......

Ref:YES/NO

I want YES to run an external command (rundll.exe to shutdown) and no to go back to the menu.

In the PAGE PROPERTIES I have assigne a value of %shutdown% to NO.

In the link for the YES/NO box, I have the tried the BOOLEAN %shutdown% <> no to execute the shutdown as well as %shutdown% = no.

Both work a little too well!!!!!

After the yes/no action, I have an EXECUTE to run rundll32.exe,etc. Both YES and NO execute the program, which is not what I want.

How do I resolve?

Brum
  #4  
Old 07-30-2001
Brumbino Brumbino is offline
Forum Member
 
Join Date: Jul 2001
Location: UK
Posts: 4
Re: Yes/No Dialogue Box

Correction!

%Shutdown% <> No & %Shutdown% = Yes, not as stated!!!!

Brum
  #5  
Old 08-01-2001
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Re: Yes/No Dialogue Box

Hi,

I have tried a similar function with a yes/no dialog box that I got to work fine. In my test, if the user pressed "Yes", the menu would close and Notepad would open. If the user pressed "No", it would jump to a certain page. I did it using the following actions in the following order:

Yes/No Dialog Set %MyVar% from Yes/No dialog

Jump to Page page 2

Close/Exit

Execute Program %SrcDrv%\NOTEPAD.EXE

In the Jump to Page Action, I had the Boolean condition %MyVar% equals No

In the Close/Exit Action I had the Boolean condition %MyVar% equals Yes

In the Execute Program Action, I had the Boolean condition %MyVar% equals Yes.

This basically functions the way that you described except that instead of launching NOTEPAD, you would launch rundll32.exe

I hope this helps.


------------------
Sincerely,

Darryl Hnatiuk
Indigo Rose Corporation
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
  #6  
Old 10-17-2001
Jito463 Jito463 is offline
Forum Member
 
Join Date: Oct 2001
Location: Knoxville, IA, USA
Posts: 113
Re: Yes/No Dialogue Box

Also, on Exit dialogs, if you want it to stay on the same page if they click no, just don't apply anything to the no variable. It will simply close out the dialog, and stay on the same page.
  #7  
Old 11-11-2001
Jito463 Jito463 is offline
Forum Member
 
Join Date: Oct 2001
Location: Knoxville, IA, USA
Posts: 113
Grin Re: Yes/No Dialogue Box

Okay, I know I've done this before, but for some odd reason I can't remember anymore. What do you set the variable as when it's a request for a password? If, for example, they don't enter the right password, I want another variable to kick in that hides certain things on the page. I know I should know what this is, but I can't recall. Help?
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is On



All times are GMT -6. The time now is 03:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software