JVCL Help:TJvUrlListGrabber.DefaultGrabberIndex

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

The index of the default grabber to use, if any


Pascal

 propertyDefaultGrabberIndex: TJvUrlGrabberIndex;


Description

When a URL is given to the component, it creates a grabber for it. In order to find the correct grabber, it asks all the registered grabber classes until it find ones that claims it can handle the URL. If no registered class claims it can handle the URL, then the value of DefaultGrabberIndex is read and used as an index in the list returned by JvUrlGrabberClassList. The class retrie ed using this index is then created and told to handle the URL. However, if DefaultGrabberIndex is -1, no grabber is created and ENoGrabberForUrl is raised to indicate that no grabber could be found for the given URL.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page