View Full Version : How to call one dialog from other dialog
psuryakiran
07-20-2004, 12:32 AM
Hi Everybody,
I am using Installshield X to develop an installer. I had created a sequence of dialogs to as a flow of action. But now in one dialog I am having a condition. Depending upon the condition it has to pop up the corresponding dialog. But its invoking the dialog which in the order of sequence. Can anyone of you please help me by telling me how to call a dialog from other dialog.
thanks in advance.
Bye
Kiran Kumar
brianl
07-20-2004, 10:43 AM
Hi,
Based on what you described, you should be able to simply add the "conditional" dialog to the Installation sequence after your first dialog in the Sequences view, then attach a wizard condition to the conditional dialog in that dialog's Conditions property. You can either choose from the selection of built-in conditions or write your own Java condition bean and add it there. If the condition evaluates false, the conditional dialog will be skipped and the bean after it will display.
skataria
02-10-2005, 12:57 AM
hello sir,
you say that attach a wizard condition but which wizard condition and in which properties, can u plz tell me details. i searched a lot in installshield website to create a op up in which i wants some textfields to be displayed in which user is asked to enter values. i want that pop up on clicking some button say advanced, can u plz help me and tell me in detail, how can i make that pop up.
brianl
02-10-2005, 09:33 AM
The instructions earlier only apply to showing/hiding a dialog which would be visited when clicking the Next/Back buttons. If you wish to add a new button to a panel named "Advanced" and visit a new set of dialogs when that button is pressed, you will need to write code in the Advanced button's buttonClicked() event. See the buttonClicked() events for the Next & Cancel buttons on the Begin frame in the Dialogs view to see how InstallShield has implemented that code.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.