RAD Studio
ContentsIndex
PreviousUpNext
Building a WebSnap Application

The following procedure describes the generic steps required to build a simple WebSnap project. For more advanced topics, refer to related information following the procedure. 

Building a WebSnap application consists of five major steps:

  1. Create an WebSnap project.
  2. Change included components (optional).
  3. Set page options (optional)
  4. Create additional WebSnap pages.
  5. Run the application.
Note: WebSnap is being deprecated in RAD Studio. Although WebSnap is still documented in the online help, the WebSnap product is no longer fully supported. As an alternative, you should begin using IntraWeb (VCL for the Web). IntraWeb is documented in this online help. For more documentation on VCL for the Web, go to http://www.atozed.com/intraweb/docs/.

To create a WebSnap project

  1. Choose FileNewOther. The New Items dialog appears.
  2. In the New Items dialog, select WebSnap Application from the Delphi ProjectsWebSnap folder.
  3. Click OK. The New WebSnap Application dialog appears.
  4. Select the type of application you are creating.
  5. Select your application model components.
  6. In the Page Name field, enter the name of your page.
  7. Select your caching type from the Caching drop-down.

To change included components (optional)

  1. In the New WebSnap Application dialog, click Components. The WebApp Components dialog appears.
  2. Select the components you want to include.
    Tip: In most cases, the default settings will suffice.
  3. Click OK.

To set page options (optional)

  1. In the New WebSnap Application dialog, click Page Options. The WebApp Components dialog appears.
  2. Set the page options.

To create additional WebSnap pages

  1. In the New Items dialog, select WebSnap Page Module from the Delphi ProjectsWebSnap folder.
  2. Configure the page module options and click OK.
  3. Add and configure components.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!