Select Target Folder Action

Got a problem you cannot solve? Try here.
owen
Posts: 2
Joined: Thu Dec 14, 2006 9:11 am

Select Target Folder Action

Postby owen » Tue Jan 16, 2007 11:39 am

Hi,

I am trying to modify the dialog where the user selects an installation directory. What I want to do is add two more user-selected locations which will most likely be on other drives. I want the user to be able to pick the location of these two destinations just like they can select the installation folder. I have three edit controls for the three paths, and three Change buttons to bring up the Browse window.

My problem is that I can't figure out how to get the "Select Target Folder" button action to return into the other edit controls, anytime you create a button with action "Select Target Folder" it will return its result into the initial installation directory edit control.

Would it be possible to do what I just described?? And how would I go about doing it, thanks.

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Tue Jan 16, 2007 2:13 pm

If you want to use the Browse button with an action of Select Target folder you need to use individual dialogs.

Before each dialog do something like this:

Set Variable TEMPTARGET to $TARGETDIR$
Set Variable TARGETDIR to $NEWTARGET$
Display Dialog: ImagingInfo , wait for dialog to return (modal)
Set Variable NEWTARGET to $TARGETDIR$
Set Variable TARGETDIR to $TEMPTARGET$


I have found that using individual dialogs allows me to present a better explanation of what the particualr path is for and why they just should click "Next".
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 150 guests