Lesson 8: Using the Launcher Expert

The Launcher Expert creates a small tabbed form that you can use to open or launch selected forms, reports, queries, scripts, and executable files by clicking a button. Now that you have created a table, three forms, a query, and a report, you will use the Launcher Expert to combine these items.

The Launcher Expert provides step-by-step instructions while you work through it. Follow the instructions and click NEXT each time you are ready to move on to the next instruction. This lesson will help you walk through the Launcher Expert.

In this lesson you will

  open the Launcher Expert to create a new Launcher
  
  specify the settings for the new Launcher
  
  run the Launcher to open the files you created in previous lessons
  
You will need 15 minutes to complete this lesson.

To see what your final Launcher will look like, click here.

Note

  Make sure your working directory is set to the folder where you saved the Tutorial sample files. If necessary, see "Setting your current working directory" in Lesson 2 for more information.
  
Opening the Launcher Expert

Paradox offers a variety of Experts to help with common Paradox tasks. The Paradox Experts dialog box displays all available Experts. 

To open the Launcher Expert

1.	Click Tools, Experts.

2.	On the Paradox Experts dialog box, locate the Launcher icon.

3.	Select the Launcher icon and click Run Expert.

Selecting Launcher Settings

When you run the Launcher Expert, you can use pre-existing Launcher settings or create new ones. Since you are creating a new Launcher, you want to use new Launcher settings.

To set Launcher settings

1.	On the Launcher Expert dialog box, enable the Create new Launcher settings button.

2.	Click Next.

Note

  Any time you want to go back a step in the Launcher Expert, click the Back Button.
  
Selecting Files for your Launcher

The next step in the Launcher is to tell the Expert which files to include.

To select files

1.	On the Forms page, select the LINK.FSL, NEWCUST.FSL, and ORDERFORM.FSL forms you created in Lesson 4 and click the right arrow to put each file in the Include These Forms box.

The Expert should look in your working directory for your files. If you can't see the ORDERFORM.FSL, click the Browse button and find the TUTORIAL folder. The location will depend on where you installed the Tutorial sample files.

2.	On the Reports page, select the VIDEOSALES.RSL report you created in Lesson 6 and click the right arrow to put the file in the Include These Reports box.

3.	On the Tables page, select the CUSTOMER.DB, ORDERS.DB, VIDEO.DB, and PRODORDS.DB tables and click the right arrow to put these files in the Include These Tables box.

4.	On the Queries page, select the TBDQUERY.QBE query you created in Lesson 7 and click the right arrow to put the file in the Include These Queries box.

5.	Click Next.

Note

  To change the order of the forms, reports, tables, and queries in each list, select a file and use the Order arrows to change its position. This changes the order in which the fields appear in the Launcher.
  
  If you browse for a file and then return to an earlier tab, you'll see that the files listed are from the directory in which you were browsing. If this is not the desired directory, you can click Browse again to reset the directory.
  
Selecting prompts for Launcher buttons

When the Launcher is finished, users should be able to recognize the function of each button. You can create captions for the buttons so they are clearly labeled. For example, the caption beside a button that runs a report of the day's orders might read Day's Orders or Show Today's Orders.

To set the prompt for each file

  On each page, type the instruction or title that you want to appear beside each Launcher button in the Prompt column. You may also choose to leave the default captions that the Expert has created for you.
  
Customizing your Launcher

You can customize the Launcher by choosing the type of window it will appear in, and the text that will be displayed in the caption.

To specify a caption

1.	In the Caption box, type Training By Design.

2.	Under Location of tabs, enable a button to specify a tab position.

You can choose to have tabs at the top of the Launcher or at the bottom.

3.	Under Launcher window style, select a window style.

The Window-Style Launcher is a child window, which means it can be covered by other windows, and can't move outside of the Paradox Desktop. It can be selected from the Window menu, and can be maximized and resized.

The Dialog Box-style Launcher can move outside the Paradox desktop, and will stay on top of Paradox child windows, remaining available to the user. It cannot be maximized or resized.

4.	Specify whether you want a shortcut.

Enable the Shortcut check box, which allows you to choose the Launcher from the Windows Start menu (under Programs, Paradox Launchers). You can also choose it from the Project Viewer's forms list.

5.	Position the Launcher automatically.

Enable the Auto-position check box to open the Launcher in the bottom lower-left corner of the screen. Once the Launcher is open, it can be repositioned.

6.	Click Next.

Selecting a Launcher Image

You can personalize your Launcher by choosing one of the images offered by the Launcher Expert. 

To select an image

1.	From the image list box, choose an image from the list.

A preview of the image appears in the window to the left.

2.	Browse through the list of images provided until you find one you want to use.

3.	Click Next.

Note

  You can also click Browse to search for an image of your own. If you use a custom image, it should be centered, and sized to fit the Expert's image window. If you don't want an image displayed on your Launcher, enable the No Image check box.
  
Saving Launcher Settings

To finish your Launcher, you need to specify how to save and open the Launcher.

To save Launcher settings

1.	In the Launcher name box, type a name for your Launcher.

2.	In the Launcher location box, specify a location for your Launcher.

3.	If you want to use the settings for your Launcher again, enable the Save check box. 

You can use any name up to 255 characters to describe these Launcher settings.

4.	Specify how you want the Launcher to open.

You can either run the Launcher or open the Launcher in Design mode. If you choose to edit the Launcher form, the Expert will open a Form Design window after creating the Launcher. 

5.	Click Finish to run the Launcher.

Summary of Lesson 8

In this lesson, you learned how to

  create a Launcher
  
  use the Launcher Expert
  






You've completed the Paradox tutorial.

The next step is to try the program for yourself. You can use the online Help to assist you with tasks and concepts. You can also use the samples included with the application to see what you can accomplish using Paradox.

Finished Launcher








