JVCL Help:TJvInspConfKeyEvent

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

Search in JVCL Help

 
Search in all projects
 

Summary

Event generated before a configuration key is added.

run\JvInspector.pas


Pascal

 run\JvInspector.pas
 TJvInspConfKeyEvent = procedure (const SectionName: string; var ItemName: string; var ATypeInfo: PTypeInfo; var Allow: Boolean) ofobject;

C++

typedef void __fastcall(__closure *TJvInspConfKeyEvent ) (const UnicodeString SectionName, UnicodeString& ItemName, PTypeInfo& ATypeInfo, bool& Allow);

Parameters

Parameters Description
SectionName Name of the section the key is in.
ItemName Name of the key to be added on entry. Change this parameter to its display name.
ATypeInfo Initially set to the type info of the string type. Change this parameter to whatever the key represents.
Allow Initially set to True. Set it to False to prevent this key from being added.

run\JvInspector.pas


Description

The TJvInspConfKeyEvent event is called just before a configuration key is added. Write a handler for this event to change the display name of the key or to prevent this key from being added.

run\JvInspector.pas


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