Logo
 
GrabURL
ActiveX Control

Introduction

Quick Start
  • Delphi
  • Visual Basic
  • MS Visual C++

    Control Summary

    Distribution

    Control Homepage

    Updated:
    02/10/2001

  •  

    Using control with Delphi

    For this example we will be creating a new design time package to get the control on the Delphi component pallete. Adding the control to one of your existing packages uses nearly the same procedure.

    Step 1. Close all files in the Delphi IDE and select 'New...' from the 'File' menu. Double click the 'Package' option.

    Before proceeding, select 'File' and 'Save' from the IDE menu to give your package and name and home.


     

    Step 2. From the package editor select 'Add' to import a control.


     

    Step 3. Select the 'Import ActiveX' tab, find 'GrabURL for ActiveX' in the list of installed controls, select it, and press 'OK'.


     

    Step 4. Press the 'Contains' line in the package manager window, then the 'Compile' button to generate the design time package containing GrabURL.


     

    Step 5. Press the 'Install' button to add the package to your design-time palette. Close and save any changes to the package.


     

    Step 6. GrabURL for ActiveX will now be visible on the 'ActiveX' tab of the Delphi Component Pallette. You can add it to your forms like any native Delphi control.

    Once you have opened your application or created a new one, click the GrabURL icon, then your form to put the component on the form.


     

    Step 7. Use the object inspector to assign handlers for the component events that fire when its StartFetch method is called. For help on using these events to gather browser data, see the main control help entries.