JVCL Help:TJvComputerInfoEx.OnSettingChange

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when a system setting has changed.


Pascal

 TJvSettingChangeEvent = procedure (Sender: TObject; Flag: Integer; const Section: string) ofobject;
propertyOnSettingChange: TJvSettingChangeEvent;


Parameters

Parameters Description
Section A string that indicates the area containing the system parameter that was changed. For example, this string can be the name of a registry key or the name of a section in the WIN.INI file.
Flag The parameter that was changed. This value is the same as the uiAction parameter to SystemParametersInfo.
Sender The object that triggered the event.


Description

Write a handler for this event to take specific actions when a system setting is changed using SystemParametersInfo. The Section parameter is not particularly useful in determining which system parameter changed. For example, when the string is a registry name, it typically indicates only the leaf node in the registry, not the whole path. In addition, some applications send this message with Section set to an empty string. In general, when you handle this event, you should check and reload any system parameter settings that are used by your application. This event is triggered in response to a WM_SETTINGCHANGE message.


See Also

,


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