JVCL Help:TJvUrlGrabberDefPropEdTrick

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvUrlGrabberDefPropEdTrick
run\JvUrlListGrabber.pas


Summary

A trick for the Delphi editor that allows to have a sub object for each member of a TJvUrlGrabberDefaultPropertiesList

run\JvUrlListGrabber.pas


Pascal

 run\JvUrlListGrabber.pas
 TJvUrlGrabberDefPropEdTrick = class(TPersistent);


Description

Because an indexed property cannot be published, the editor for TJvUrlGrabberDefaultPropertiesList enumerates all the items in the list, and passes the EditorTrick property of each of its TJvUrlGrabberDefaultProperties members. The trick contains only one published property that gets displayed and this property points to the TJvUrlGrabberDefaultPropertiesList object to which the trick belongs, thus allowing to publish the indexed property. The only drawback is that the name in the property editor for each object is the same, DefaultProperties Hence, the need for an editor for TJvUrlGrabberDefPropEdTrick that displays a meaningful name instead

run\JvUrlListGrabber.pas


About

Navigation

run\JvUrlListGrabber.pas



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